Skip to content
Snippets Groups Projects
Commit 2d8cbbbd authored by Andreas Gnau's avatar Andreas Gnau :speech_balloon:
Browse files

Revert "include: use default CCACHE_DIR."

This reverts commit c1f879cd.
This will be superseded by OpenWrt 21.02 config option CCACHE_DIR.
parent d7ac9ffd
Branches
Tags
No related merge requests found
...@@ -132,9 +132,7 @@ define Host/Exports/Default ...@@ -132,9 +132,7 @@ define Host/Exports/Default
$(1) : export STAGING_PREFIX=$$(HOST_BUILD_PREFIX) $(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_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig:$$(HOST_BUILD_PREFIX)/lib/pkgconfig
$(1) : export PKG_CONFIG_LIBDIR=$$(HOST_BUILD_PREFIX)/lib/pkgconfig $(1) : export PKG_CONFIG_LIBDIR=$$(HOST_BUILD_PREFIX)/lib/pkgconfig
# Do not set CCACHE_dir. We want to use the home directory of the user. $(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache)
# otherwise nigtly and new builds will not see a speedup.
# $(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache
$(if $(HOST_CONFIG_SITE),$(1) : export CONFIG_SITE:=$(HOST_CONFIG_SITE)) $(if $(HOST_CONFIG_SITE),$(1) : export CONFIG_SITE:=$(HOST_CONFIG_SITE))
$(if $(IS_PACKAGE_BUILD),$(1) : export PATH=$$(TARGET_PATH_PKG)) $(if $(IS_PACKAGE_BUILD),$(1) : export PATH=$$(TARGET_PATH_PKG))
endef endef
......
...@@ -174,9 +174,7 @@ define Build/Exports/Default ...@@ -174,9 +174,7 @@ define Build/Exports/Default
$(1) : export CONFIG_SITE:=$$(CONFIG_SITE) $(1) : export CONFIG_SITE:=$$(CONFIG_SITE)
$(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH) $(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH)
$(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH) $(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH)
# do not set CCACHE_dir. We want to use the homedirecoty of the user. $(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache)
# otherwise nigtly and new builds will not see a speedup.
# $(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache
endef endef
Build/Exports=$(Build/Exports/Default) Build/Exports=$(Build/Exports/Default)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment