Whamcloud - gitweb
LU-16976 ldiskfs: add support for openEuler 22.03 SP2
[fs/lustre-release.git] / lustre / kernel_patches / targets / 5.10-oe2203sp2.target.in
diff --git a/lustre/kernel_patches/targets/5.10-oe2203sp2.target.in b/lustre/kernel_patches/targets/5.10-oe2203sp2.target.in
new file mode 100644 (file)
index 0000000..805f11c
--- /dev/null
@@ -0,0 +1,21 @@
+lnxmaj="5.10.0"
+lnxrel="153.19.0.95.oe2203sp2"
+
+KERNEL_SRPM=kernel-${lnxmaj}-${lnxrel}.src.rpm
+SERIES=""
+EXTRA_VERSION=${lnxrel}_lustre.@VERSION@
+LUSTRE_VERSION=@VERSION@
+
+DEVEL_PATH_ARCH_DELIMETER="."
+OFED_VERSION=inkernel
+
+#SMP_ARCHS="i686 x86_64 ia64 ppc64"
+# openEuler doesn't use smp specific kernels
+SMP_ARCHS=""
+
+for cc in gcc ; do
+    if which $cc >/dev/null 2>/dev/null ; then
+        export CC=$cc
+        break
+    fi
+done