Whamcloud - gitweb
LU-10847 kernel update [SLES12 SP2 4.4.120-92.70]
[fs/lustre-release.git] / lustre / kernel_patches / targets / 4.4-sles12.target.in
1 lnxmaj="4.4"
2 lnxmin=".120"
3 lnxrel="92.70"
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=".1"
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=4.4-sles12.series
15 LDISKFS_SERIES=4.4-sles12sp3.series
16 VERSION=$lnxmaj
17 EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
18 LUSTRE_VERSION=@VERSION@
19
20 OFED_VERSION=inkernel
21
22 BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
23 BIGMEM_ARCHS=""
24 BOOT_ARCHS=""
25 JENSEN_ARCHS=""
26 DEFAULT_ARCHS="i686 x86_64 ia64 ppc64"
27 BIGSMP_ARCHS=""
28 PSERIES64_ARCHS="ppc"
29 UP_ARCHS=""
30 SRC_ARCHS=""
31 #RPMSMPTYPE="smp"
32
33 for cc in gcc ; do
34     if which $cc >/dev/null 2>/dev/null ; then
35         export CC=$cc
36         break
37     fi
38 done