Now remove the default --arch setting of $(ARCH) in case kpkg-arch is defined.

svn path=/dists/trunk/linux-2.6/; revision=5098
This commit is contained in:
Sven Luther 2005-12-26 19:01:38 +00:00
parent 0e5ebce04a
commit 6ef4b1e319
1 changed files with 3 additions and 2 deletions

5
debian/rules.real vendored
View File

@ -38,16 +38,17 @@ include debian/rules.defs
# 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)'