debian/rules.real: Always override ARCH and CROSS_COMPILE settings.

svn path=/dists/trunk/linux-2.6/; revision=6917
This commit is contained in:
Bastian Blank 2006-06-28 21:21:31 +00:00
parent d07391d18c
commit fe3842dccc
1 changed files with 2 additions and 2 deletions

4
debian/rules.real vendored
View File

@ -137,11 +137,11 @@ define SETUP_DIR
cp -al '$(SOURCE_DIR)' '$(DIR)'
cp '$(CONFIG)' '$(DIR)/.config'
echo '$(ABINAME)$(LOCALVERSION)' > '$(DIR)/localversion'
echo 'ARCH = $(ARCH)' >> '$(DIR)/.kernelvariables'
echo 'override ARCH = $(ARCH)' >> '$(DIR)/.kernelvariables'
echo 'CCACHE = ccache' >> '$(DIR)/.kernelvariables'
echo 'CC = $$(if $$(DEBIAN_KERNEL_USE_CCACHE),$$(CCACHE)) $$(CROSS_COMPILE)$(COMPILER)' >> '$(DIR)/.kernelvariables'
echo 'ifneq ($$(DEB_BUILD_ARCH),$$(DEB_HOST_ARCH))' >> '$(DIR)/.kernelvariables'
echo 'CROSS_COMPILE = $$(DEB_HOST_GNU_TYPE)-' >> '$(DIR)/.kernelvariables'
echo 'override CROSS_COMPILE = $$(DEB_HOST_GNU_TYPE)-' >> '$(DIR)/.kernelvariables'
echo 'endif' >> '$(DIR)/.kernelvariables'
endef