From f8ce42fc7c496237d1e89a5b423a87203a516db4 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 4 Jun 2026 23:10:07 +0200 Subject: [PATCH] topdir.mk: Make target all depend on topdir Target all should create all necessary files in topdir. Currently they're only needed for static file checks, but they might well be prerequistes for the build to succeed in the future, so make target all depend on topdir. Also, place target all before the block of includes, so that the execution order is defined in topdir.mk rather than the included snippets. Signed-off-by: Jan Lindemann --- make/topdir.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/topdir.mk b/make/topdir.mk index 77ecaa1f..bdc0ed61 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -99,6 +99,8 @@ ifneq ($(SUBDIRS_TO_ITERATE),) endif +all: topdir config + include $(JWBDIR)/make/dirs.mk include $(JWBDIR)/make/pkg-dist.mk include $(JWBDIR)/make/rules.mk @@ -118,7 +120,7 @@ TD_COPY_FILES ?= $(filter-out Makefile,$(notdir $(wildcard $(TD_CO TD_COPY_SRC_PATH = $(subst :,$(space),$(JW_PKG_TOPDIR_COPY_PATH)) TD_GENERATE_FILES += $(TD_COPY_FILES) -all: config +all: format: topdir check-syntax: topdir check-format: topdir