[Pkg-ofed-commits] r687 - /trunk/ofa-kernel/trunk/debian/rules

gmpc-guest at alioth.debian.org gmpc-guest at alioth.debian.org
Mon Mar 1 13:46:20 UTC 2010


Author: gmpc-guest
Date: Mon Mar  1 13:46:18 2010
New Revision: 687

URL: http://svn.debian.org/wsvn/pkg-ofed/?sc=1&rev=687
Log:
Allow user to override kernel detection magic.

Modified:
    trunk/ofa-kernel/trunk/debian/rules

Modified: trunk/ofa-kernel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ofed/trunk/ofa-kernel/trunk/debian/rules?rev=687&op=diff
==============================================================================
--- trunk/ofa-kernel/trunk/debian/rules (original)
+++ trunk/ofa-kernel/trunk/debian/rules Mon Mar  1 13:46:18 2010
@@ -31,7 +31,12 @@
 # Ofed quilt script assumes kernel versions with extra bits on the end are SLES/RH kernels 
 # and so applies the wrong patch sets. We cut the extra versions off and feed just the base
 # kernel version to OFED build scripts
-BASEKERNEL = $(shell echo $(KVERS) |  awk -F- '{print $$1}' | awk -F. '{print $$1"."$$2"."$$3}')
+
+# If you *are* building against SLES/RH kernel sources, you can override the kernel 
+# detection by setting $BASEKERNEL before running the build
+
+
+BASEKERNEL ?= $(shell echo $(KVERS) |  awk -F- '{print $$1}' | awk -F. '{print $$1"."$$2"."$$3}')
 
 # some default definitions, important!
 #




More information about the Pkg-ofed-commits mailing list