[kernel] r6966 - people/waldi/linux-latest-2.6/debian

Bastian Blank waldi at costa.debian.org
Sat Jul 8 17:01:11 UTC 2006


Author: waldi
Date: Sat Jul  8 17:01:10 2006
New Revision: 6966

Modified:
   people/waldi/linux-latest-2.6/debian/rules
   people/waldi/linux-latest-2.6/debian/rules.real

Log:
* debian/rules: Make it possible to build all arches at once.
* debian/rules.real: Correctly override arch informations.


Modified: people/waldi/linux-latest-2.6/debian/rules
==============================================================================
--- people/waldi/linux-latest-2.6/debian/rules	(original)
+++ people/waldi/linux-latest-2.6/debian/rules	Sat Jul  8 17:01:10 2006
@@ -6,6 +6,14 @@
 
 GENCONTROL = debian/bin/gencontrol.py /usr/src/linux-support-$(KERNELVERSION)
 
+ifdef DEBIAN_KERNEL_BUILD_ANY
+binary-arch: binary-arch-all
+endif
+
+binary-arch-all: debian/control $(BUILD_DIR) $(STAMPS_DIR)
+	dh_testdir
+	$(MAKE) -f debian/rules.gen binary-arch
+
 maintainerclean:
 	-rm debian/control debian/control.md5sum debian/rules.gen
 

Modified: people/waldi/linux-latest-2.6/debian/rules.real
==============================================================================
--- people/waldi/linux-latest-2.6/debian/rules.real	(original)
+++ people/waldi/linux-latest-2.6/debian/rules.real	Sat Jul  8 17:01:10 2006
@@ -6,8 +6,8 @@
 # expected to be available (need to be exported from the parent process).
 #
 SHELL  := bash -e
-DEB_HOST_ARCH     := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_HOST_GNU_TYPE)
+override DEB_HOST_ARCH     := $(shell dpkg-architecture -a'$(ARCH)' -f -qDEB_HOST_ARCH)
+override DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -a'$(ARCH)' -f -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_ARCH    := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_BUILD_ARCH)
 
 export DH_OPTIONS



More information about the Kernel-svn-changes mailing list