tools/ccache: add cmake dependency
[openwrt/staging/hauke.git] / tools / Makefile
index 681344a014fc74b2a3d90d7f43c90ac3b1c4f66c..a13c2e82b5a37b328d605c16cd9282d94ec3fd4b 100644 (file)
@@ -87,7 +87,7 @@ endif
 ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),)
 $(foreach tool, $(filter-out xz zstd pkgconf patch ninja meson libressl cmake,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/compile))
 tools-y += ccache
-$(curdir)/ccache/compile := $(curdir)/zstd/compile
+$(curdir)/ccache/compile := $(curdir)/cmake/compile $(curdir)/zstd/compile
 endif
 
 # in case there is no patch tool on the host we need to make patch tool a