aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-03 19:42:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-03 19:42:38 +0000
commit62231a8404b0b7babd5180541e0f574bbada09f8 (patch)
tree9f8fbdfe20d1a150d86af8dbe41781eca638bc2e /tools/Makefile
parent98cd35e477ff7e99d151edb456b5db61f5c5fddb (diff)
downloadupstream-62231a8404b0b7babd5180541e0f574bbada09f8.tar.gz
upstream-62231a8404b0b7babd5180541e0f574bbada09f8.tar.bz2
upstream-62231a8404b0b7babd5180541e0f574bbada09f8.zip
tools: build ccache when building the sdk (fixes #13949)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45266
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c929239175..7d4ab01ce5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -72,7 +72,7 @@ $(curdir)/findutils/compile := $(curdir)/bison/install
$(curdir)/gengetopt/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))
tools-y += ccache
endif