From: nbd Date: Fri, 3 Apr 2015 19:42:38 +0000 (+0000) Subject: tools: build ccache when building the sdk (fixes #13949) X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=f32f5d506dcfd2d62cd0cb6f9466e30faa1baf80;p=openwrt.git tools: build ccache when building the sdk (fixes #13949) Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45266 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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