debian/rules.real: Always override ARCH and CROSS_COMPILE settings.
svn path=/dists/trunk/linux-2.6/; revision=6917
This commit is contained in:
parent
d07391d18c
commit
fe3842dccc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue