tools: build ccache when building the sdk (fixes #13949)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45266 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
9ddff7b767
commit
8a64867860
|
@ -72,7 +72,7 @@ $(curdir)/findutils/compile := $(curdir)/bison/install
|
||||||
$(curdir)/gengetopt/compile := $(curdir)/libtool/install
|
$(curdir)/gengetopt/compile := $(curdir)/libtool/install
|
||||||
$(curdir)/patchelf/compile := $(curdir)/libtool/install
|
$(curdir)/patchelf/compile := $(curdir)/libtool/install
|
||||||
|
|
||||||
ifneq ($(CONFIG_CCACHE),)
|
ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),)
|
||||||
$(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install))
|
$(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/install))
|
||||||
tools-y += ccache
|
tools-y += ccache
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue