build: set CCACHE_DIR for host builds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45427
This commit is contained in:
Felix Fietkau 2015-04-14 00:00:55 +00:00
parent 923bef1678
commit c99c9f875e
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ define Host/Exports/Default
$(1) : export STAGING_PREFIX=$$(STAGING_DIR_HOST) $(1) : export STAGING_PREFIX=$$(STAGING_DIR_HOST)
$(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig $(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig
$(1) : export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig $(1) : export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig
$(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache
endef endef
Host/Exports=$(Host/Exports/Default) Host/Exports=$(Host/Exports/Default)