Whamcloud - gitweb
d33547dd6d16ae0cc3d77fb0b1674dfb9a377aec
[fs/lustre-release.git] / lustre / kernel_patches / targets / 4.4-sles12.target.in
1 lnxmaj="4.4"
2 lnxmin=".59"
3 lnxrel="92.17"
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=".2"
8 # for some oddly reasons (bug??) -devel and source have different fix
9 # so we'll add another one to detect this, make it the same or remove
10 # this change they fix the bug
11 rpmfix_diff=".3"
12
13 # this is the delimeter that goes before the "smp" at the end of the version
14 # defaults to empty
15 FLAVOR_DELIMITER="-"
16
17 KERNEL_SRPM=kernel-source-${lnxmaj}${lnxmin}-${lnxrel}${rpmfix}.src.rpm
18 SERIES=4.4-sles12.series
19 LDISKFS_SERIES=4.4-sles12sp2.series
20 VERSION=$lnxmaj
21 EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
22 LUSTRE_VERSION=@VERSION@
23
24 OFED_VERSION=inkernel
25
26 BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
27 BIGMEM_ARCHS=""
28 BOOT_ARCHS=""
29 JENSEN_ARCHS=""
30 DEFAULT_ARCHS="i686 x86_64 ia64 ppc64"
31 BIGSMP_ARCHS=""
32 PSERIES64_ARCHS="ppc"
33 UP_ARCHS=""
34 SRC_ARCHS=""
35 #RPMSMPTYPE="smp"
36
37 for cc in gcc ; do
38     if which $cc >/dev/null 2>/dev/null ; then
39         export CC=$cc
40         break
41     fi
42 done