Whamcloud - gitweb
b=16312
[fs/lustre-release.git] / lustre / kernel_patches / targets / 2.6-vanilla.target.in
index 84bd491..49dbe0f 100644 (file)
@@ -1,16 +1,38 @@
-lnxmaj=2.6.6
+lnxmaj="2.6.22"
+lnxrel="14"
 
-KERNEL=linux-$lnxmaj.tar.gz
-SERIES=2.6-vanilla
+# this is the delimeter that goes between $lnxmaj and $lnxrel
+# defaults to "-"
+EXTRA_VERSION_DELIMITER="."
+
+# this is the delimeter that goes before the "smp" at the end of the version
+# defaults to empty
+TARGET_DELIMITER="-"
+
+KERNEL=linux-$lnxmaj.$lnxrel.tar.bz2
+SERIES=2.6.22-vanilla.series
 VERSION=$lnxmaj
-EXTRA_VERSION=lustre.@VERSION@
+EXTRA_VERSION="${lnxrel}_lustre.@VERSION@"
 LUSTRE_VERSION=@VERSION@
 RHBUILD=0
+LINUX26=1
+# No /boot/Kerntypes* in SLES10
+SUSEBUILD=0
 
-BASE_ARCHS=""
+
+BASE_ARCHS="i686 x86_64"
 BIGMEM_ARCHS=""
 BOOT_ARCHS=""
 JENSEN_ARCHS=""
-SMP_ARCHS=""
+SMP_ARCHS="x86_64"
+BIGSMP_ARCHS="i686"
+PSERIES64_ARCHS=""
 UP_ARCHS=""
 SRC_ARCHS=""
+
+for cc in gcc ; do
+    if which $cc >/dev/null 2>/dev/null ; then
+        export CC=$cc
+        break
+    fi
+done