debian/rules.real: Add support for ccache.

svn path=/dists/trunk/linux-2.6/; revision=6804
This commit is contained in:
Bastian Blank 2006-06-15 14:38:55 +00:00
parent 3e6fafbd27
commit 54520bf6cd
1 changed files with 2 additions and 1 deletions

3
debian/rules.real vendored
View File

@ -138,7 +138,8 @@ define SETUP_DIR
cp -al '$(SOURCE_DIR)' '$(DIR)'
cp '$(CONFIG)' '$(DIR)/.config'
echo '$(ABINAME)$(LOCALVERSION)' > '$(DIR)/localversion'
echo 'CC = $$(CROSS_COMPILE)$(COMPILER)' > '$(DIR)/.kernelvariables'
echo 'CCACHE = ccache' >> '$(DIR)/.kernelvariables'
echo 'CC = $$(if $$(DEBIAN_KERNEL_USE_CCACHE),$$(CCACHE)) $$(CROSS_COMPILE)$(COMPILER)' >> '$(DIR)/.kernelvariables'
endef
$(STAMPS_DIR)/setup-$(ARCH)-$(SUBARCH)-$(FLAVOUR)-kernel-package: