[Pkg-ofed-commits] r677 - /branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules
gmpc-guest at alioth.debian.org
gmpc-guest at alioth.debian.org
Fri Feb 19 15:58:33 UTC 2010
Author: gmpc-guest
Date: Fri Feb 19 15:58:33 2010
New Revision: 677
URL: http://svn.debian.org/wsvn/pkg-ofed/?sc=1&rev=677
Log:
*Set DEB_HOST_ARCH
*Allow override of the kernel version we are building against.
Modified:
branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules
Modified: branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ofed/branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules?rev=677&op=diff
==============================================================================
--- branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules (original)
+++ branches/ofed-1.5lenny/ofa-kernel/trunk/debian/rules Fri Feb 19 15:58:33 2010
@@ -25,11 +25,12 @@
else
CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
# 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}')
+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