[kernel] r5098 - dists/trunk/linux-2.6/debian

Sven Luther luther at costa.debian.org
Mon Dec 26 19:01:38 UTC 2005


Author: luther
Date: Mon Dec 26 19:01:38 2005
New Revision: 5098

Modified:
   dists/trunk/linux-2.6/debian/rules.real
Log:
Now remove the default --arch setting of $(ARCH) in case kpkg-arch is defined.


Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real	(original)
+++ dists/trunk/linux-2.6/debian/rules.real	Mon Dec 26 19:01:38 2005
@@ -38,16 +38,17 @@
 # replaced by the flavour for which the command is run. 
 #
 kpkg_header += make-kpkg --append-to-version '$(KPKG_ABINAME)'
-kpkg_header += --arch '$(ARCH)'
 kpkg_header += --stem linux
 kpkg_header += --config defconfig
 kpkg_image := make-kpkg --append-to-version '$(KPKG_ABINAME)-$(FLAVOUR)'
-kpkg_image += --arch '$(ARCH)'
 kpkg_image += --stem linux
 kpkg_image += --initrd
 ifdef KPKG_ARCH
   kpkg_image += --arch '$(KPKG_ARCH)'
   kpkg_header += --arch '$(KPKG_ARCH)'
+else
+  kpkg_header += --arch '$(ARCH)'
+  kpkg_image += --arch '$(ARCH)'
 endif
 ifdef KPKG_SUBARCH
   kpkg_image += --subarch '$(KPKG_SUBARCH)'



More information about the Kernel-svn-changes mailing list