From fa0aea53b2f1dccc2073efac8020151960d25513 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 12 Jun 2021 14:24:40 +0200 Subject: tools: build ninja before ccache to fix the build order Signed-off-by: Felix Fietkau --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/Makefile') diff --git a/tools/Makefile b/tools/Makefile index dccf298af6..a48aa80db3 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -79,7 +79,7 @@ ifneq ($(HOST_OS),Linux) endif ifneq ($(CONFIG_CCACHE)$(CONFIG_SDK),) -$(foreach tool, $(filter-out xz zstd patch pkgconf libressl cmake,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/compile)) +$(foreach tool, $(filter-out xz zstd patch pkgconf libressl ninja cmake,$(tools-y)), $(eval $(curdir)/$(tool)/compile += $(curdir)/ccache/compile)) tools-y += ccache $(curdir)/ccache/compile := $(curdir)/zstd/compile endif -- cgit v1.2.3