[kernel] r7953 - dists/sid/linux-2.6/debian

Bastian Blank waldi at alioth.debian.org
Sat Dec 9 14:05:38 UTC 2006


Author: waldi
Date: Sat Dec  9 15:05:37 2006
New Revision: 7953

Modified:
   dists/sid/linux-2.6/debian/rules.real
Log:
debian/rules.real
- Prefer KPKG_ARCH over ARCH for kpkg calls.
- Always set non-cross-compile for kpkg.


Modified: dists/sid/linux-2.6/debian/rules.real
==============================================================================
--- dists/sid/linux-2.6/debian/rules.real	(original)
+++ dists/sid/linux-2.6/debian/rules.real	Sat Dec  9 15:05:37 2006
@@ -35,7 +35,7 @@
 # replaced by the flavour for which the command is run. 
 #
 kpkg_image := make-kpkg
-kpkg_image += --arch '$(ARCH)'
+kpkg_image += --arch '$(firstword $(KPKG_ARCH) $(ARCH))' --cross-compile=-
 kpkg_image += --stem linux
 kpkg_image += --config silentoldconfig
 ifneq ($(INITRAMFS),False)
@@ -45,9 +45,6 @@
   kpkg_image += --subarch '$(KPKG_SUBARCH)'
 endif
 setup_env := env -u ABINAME -u ARCH -u SUBARCH -u FLAVOUR -u VERSION -u LOCALVERSION -u MAKEFLAGS
-ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
-  kpkg_image += --cross-compile='$(DEB_HOST_GNU_TYPE)'
-endif
 
 ifdef DEBIAN_KERNEL_JOBS
   setup_env_kpkg_jobs = CONCURRENCY_LEVEL=$(DEBIAN_KERNEL_JOBS)



More information about the Kernel-svn-changes mailing list