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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-04 23:10:07 +02:00
commit f8ce42fc7c
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -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