Whamcloud - gitweb
LU-14029 kernel: new kernel [SLES15 SP2 5.3.18-24.24.1]
[fs/lustre-release.git] / lustre / kernel_patches / targets / 4.12-sles15sp2.target.in
diff --git a/lustre/kernel_patches/targets/4.12-sles15sp2.target.in b/lustre/kernel_patches/targets/4.12-sles15sp2.target.in
new file mode 100644 (file)
index 0000000..8dd6b13
--- /dev/null
@@ -0,0 +1,37 @@
+lnxmaj="5.3"
+lnxmin=".18"
+lnxrel="24.24"
+# use this when there is an "RPM fix" which means that the name of the
+# (source) RPM has been updated but the version of the kernel inside the
+# RPM is not also updated
+rpmfix=".1"
+
+# this is the delimeter that goes before the "smp" at the end of the version
+# defaults to empty
+FLAVOR_DELIMITER="-"
+
+KERNEL_SRPM=kernel-source-${lnxmaj}${lnxmin}-${lnxrel}${rpmfix}.src.rpm
+SERIES=""
+VERSION=$lnxmaj
+EXTRA_VERSION="${lnxmin#.}-${lnxrel}_lustre.@VERSION@"
+LUSTRE_VERSION=@VERSION@
+
+OFED_VERSION=inkernel
+
+BASE_ARCHS="i686 ppc x86_64 ia64 ppc64"
+BIGMEM_ARCHS=""
+BOOT_ARCHS=""
+JENSEN_ARCHS=""
+DEFAULT_ARCHS="i686 x86_64 ia64 ppc64"
+BIGSMP_ARCHS=""
+PSERIES64_ARCHS="ppc"
+UP_ARCHS=""
+SRC_ARCHS=""
+#RPMSMPTYPE="smp"
+
+for cc in gcc ; do
+    if which $cc >/dev/null 2>/dev/null ; then
+        export CC=$cc
+        break
+    fi
+done