From ad6ae4a6f262752ea746a415fd651bef8ab55cc9 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 12 Jul 2026 13:40:09 +0200 Subject: [PATCH] projects-dir.mk: Support check targets Add support for the targets check and check-post to projects-dir.mk to make them usable from inside the projects directory. Note that check-pre is intentionally left out: Running make check in a repo before its prerequisite repos have built their __init__.py files will fail due to broken import resolution. Signed-off-by: Jan Lindemann --- make/projects-dir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/projects-dir.mk b/make/projects-dir.mk index c05d7898..115a0063 100644 --- a/make/projects-dir.mk +++ b/make/projects-dir.mk @@ -156,7 +156,7 @@ PROJECTS_WITH_PROJECT_CONF = $(patsubst %/make/project.conf,%,$(wildcard $(add # --- mandatory targets all: -all test: $(filter-out $(UNAVAILABLE_TARGETS),pull.done) +all test check check-pre check-post: $(filter-out $(UNAVAILABLE_TARGETS),pull.done) $(JW_PKG_PY_BUILD) $@ $(TARGET_PROJECTS) clean: clean-dirs distclean: clean-all-dirs done.clean