Whamcloud - gitweb
LU-181 obdclass: fix portal_handle memory wastage
[fs/lustre-release.git] / lustre / kernel_patches / targets / 2.6-sles10.target.in
1 lnxmaj="2.6.16"
2 lnxmin=".60"
3 lnxrel="0.69.1"
4 # use this when there is an "RPM fix" which means that the name of the
5 # (source) RPM has been updated but the version of the kernel inside the
6 # RPM is not also updated
7 rpmfix=""
8
9 # this is the delimeter that goes before the "smp" at the end of the version
10 # defaults to empty
11 FLAVOR_DELIMITER="-"
12
13 KERNEL_SRPM=kernel-source-${lnxmaj}${lnxmin}-${lnxrel}${rpmfix}.src.rpm
14 SERIES=""
15 VERSION=$lnxmaj
16 EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
17 LUSTRE_VERSION=@VERSION@
18
19 OFED_VERSION=inkernel
20 # if using "inkernel" on sles10, we need to know which version of ofed-devel
21 # to use
22 OFED_DEVEL_VERSION="1.4.2-0.8.4.1682.0.PTF.578796"
23
24 BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
25 BIGMEM_ARCHS=""
26 BOOT_ARCHS=""
27 JENSEN_ARCHS=""
28 SMP_ARCHS="x86_64 ia64"
29 BIGSMP_ARCHS="i686"
30 PSERIES64_ARCHS="ppc"
31 PPC64_ARCHS="ppc64"
32 UP_ARCHS=""
33 SRC_ARCHS=""
34 #RPMSMPTYPE="smp"
35
36 for cc in gcc ; do
37     if which $cc >/dev/null 2>/dev/null ; then
38         export CC=$cc
39         break
40     fi
41 done