tools: build ccache when building the sdk (fixes #13949)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 3 Apr 2015 19:42:38 +0000 (19:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 3 Apr 2015 19:42:38 +0000 (19:42 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45266

tools/Makefile

index c9292391751cb46a2dc2e80590c3f85e98c53f11..7d4ab01ce59ed36942f982647767843cf320ca9d 100644 (file)
@@ -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