[openwrt/openwrt] tools/ccache: add cmake dependency

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 28 16:11:24 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2d5f03205ab81fcbee6ef2d2853db98a85f0ecd3

commit 2d5f03205ab81fcbee6ef2d2853db98a85f0ecd3
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sun Feb 6 20:51:40 2022 -0800

    tools/ccache: add cmake dependency
    
    This will be needed for the next commit as ccache's cmake dependency is
    satisfied by zstd currenly.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index 681344a014..a13c2e82b5 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -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




More information about the lede-commits mailing list