Whamcloud - gitweb
475adc084526597eec23544f93ba9fa0e31e29c0
[fs/lustre-release.git] / lustre / kernel_patches / targets / 2.6-sles11.target.in
1 lnxmaj="2.6.27"
2 lnxmin=".23"
3 # when we fix up this lnxmaj/lnxmin/lnxrel business...
4 #lnxrel="0.37_f594963d"
5 # and note that this means we get rid of the EXTRA_VERSION_DELIMITER crap!!
6 lnxrel="23-0.1"
7 # use this when there is an "RPM fix" which means that the name of the
8 # (source) RPM has been updated but the version of the kernel inside the
9 # RPM is not also updated
10 rpmfix=".1"
11
12 # this is the delimeter that goes between $lnxmaj and $lnxrel
13 # defaults to "-"
14 EXTRA_VERSION_DELIMITER="."
15
16 # this is the delimeter that goes before the "smp" at the end of the version
17 # defaults to empty
18 TARGET_DELIMITER="-"
19
20 KERNEL_SRPM=kernel-source-$lnxmaj.$lnxrel${rpmfix}.src.rpm
21 SERIES=2.6-sles11.series
22 VERSION=$lnxmaj
23 EXTRA_VERSION="${lnxrel}_lustre.@VERSION@"
24 LUSTRE_VERSION=@VERSION@
25
26 #OFED_VERSION=1.4.1-rc4
27
28 BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
29 BIGMEM_ARCHS=""
30 BOOT_ARCHS=""
31 JENSEN_ARCHS=""
32 DEFAULT_ARCHS="i686 x86_64 ia64 ppc64"
33 BIGSMP_ARCHS=""
34 PSERIES64_ARCHS="ppc"
35 UP_ARCHS=""
36 SRC_ARCHS=""
37 #RPMSMPTYPE="smp"
38
39 for cc in gcc ; do
40     if which $cc >/dev/null 2>/dev/null ; then
41         export CC=$cc
42         break
43     fi
44 done