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