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

Bastian Blank waldi at costa.debian.org
Thu Jun 15 14:38:56 UTC 2006


Author: waldi
Date: Thu Jun 15 14:38:55 2006
New Revision: 6804

Modified:
   dists/trunk/linux-2.6/debian/rules.real

Log:
debian/rules.real: Add support for ccache.


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	Thu Jun 15 14:38:55 2006
@@ -138,7 +138,8 @@
 	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:



More information about the Kernel-svn-changes mailing list