X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fhost-build.mk;h=827ea6bbfb1be72e38309de3fe48435e3aa8172f;hb=576791b9b4eab7f35e76bb77ec946d0a143510af;hp=a2a31ae0489b46b94961de78ad0c5a100588d921;hpb=a1c65b41cbaa12b43af7bbd40db23d482be629c8;p=oweals%2Fopenwrt.git diff --git a/include/host-build.mk b/include/host-build.mk index a2a31ae048..827ea6bbfb 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -132,7 +132,7 @@ define Host/Exports/Default $(1) : export STAGING_PREFIX=$$(HOST_BUILD_PREFIX) $(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig:$$(HOST_BUILD_PREFIX)/lib/pkgconfig $(1) : export PKG_CONFIG_LIBDIR=$$(HOST_BUILD_PREFIX)/lib/pkgconfig - $(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache + $(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache) $(if $(HOST_CONFIG_SITE),$(1) : export CONFIG_SITE:=$(HOST_CONFIG_SITE)) $(if $(IS_PACKAGE_BUILD),$(1) : export PATH=$$(TARGET_PATH_PKG)) endef