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 2f3c53d..760d38b 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)