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
commit8a64867860e6d01a42e8db30c00a2f7e35d57de2 (patch)
tree7590d26d3224337153ca86aa951646c77fc8da4d /tools/Makefile
parent9ddff7b7675afd0aeb9b6582e2f90c25e40b33da (diff)
downloadmaster-187ad058-8a64867860e6d01a42e8db30c00a2f7e35d57de2.tar.gz
master-187ad058-8a64867860e6d01a42e8db30c00a2f7e35d57de2.tar.bz2
master-187ad058-8a64867860e6d01a42e8db30c00a2f7e35d57de2.zip
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-a3cf2f4a3e73
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