Skip to content
Snippets Groups Projects
Commit 9402cb74 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)


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

SVN-Revision: 46434
parent 38dbf49b
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ $(curdir)/gengetopt/compile := $(curdir)/libtool/install ...@@ -73,7 +73,7 @@ $(curdir)/gengetopt/compile := $(curdir)/libtool/install
$(curdir)/patchelf/compile := $(curdir)/libtool/install $(curdir)/patchelf/compile := $(curdir)/libtool/install
ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),) ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),)
$(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install)) $(foreach tool, $(filter-out patch,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install))
tools-y += ccache tools-y += ccache
endif endif
......
...@@ -15,4 +15,7 @@ PKG_MD5SUM:=e3da7940431633fb65a01b91d3b7a27a ...@@ -15,4 +15,7 @@ PKG_MD5SUM:=e3da7940431633fb65a01b91d3b7a27a
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
HOSTCC := $(HOSTCC_NOCACHE)
HOSTCXX := $(HOSTCXX_NOCACHE)
$(eval $(call HostBuild)) $(eval $(call HostBuild))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment