build: set CCACHE_DIR for host builds
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Apr 2015 00:00:55 +0000 (00:00 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Apr 2015 00:00:55 +0000 (00:00 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45427

include/host-build.mk

index 2f3c53d09875748ae8201abf3c693617ce342a4d..760d38b371f8fcb6af7acfcc3bd07e65647b0ae6 100644 (file)
@@ -131,6 +131,7 @@ define Host/Exports/Default
   $(1) : export STAGING_PREFIX=$$(STAGING_DIR_HOST)
   $(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig
   $(1) : export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig
+  $(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache
 endef
 Host/Exports=$(Host/Exports/Default)