From 50a19954b4f6e0cf2a8db4b69a62ad405aff397f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 14 Jan 2026 13:05:12 +0100 Subject: [PATCH] projects-dir-minimal.mk: Make included targets once Targets defined by projects-dir.mk are not available before it is included, but make makes up its mind about what targets are available after parsing the included makefiles, so remove that redundancy. On the other hand, a dependency alone is not enough for make to understand that an included makefile has been remade, it needs a rule, so add a dummy-rule body. In this case only echoing that the include file has been provided. Signed-off-by: Jan Lindemann --- make/projects-dir-minimal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/projects-dir-minimal.mk b/make/projects-dir-minimal.mk index 36bc4ee2..c27b9e78 100644 --- a/make/projects-dir-minimal.mk +++ b/make/projects-dir-minimal.mk @@ -61,13 +61,13 @@ all: include $(PROJECTS_DIR_INCLUDE_MK) $(PROJECTS_DIR_INCLUDE_MK): | $(JWBDIR) + @echo Provided $@ $(JWBDIR): git $(GIT_GLOBAL_OPTS) clone $(addprefix -b ,$(JW_PKG_BRANCH)) $(JWBDIR_GIT_REMOTE) $(JWBDIR) ifneq ($(findstring proactiveAuth,$(GIT_GLOBAL_OPTS)),) git -C $(JWBDIR) config set http.proactiveAuth basic endif - make $(MAKECMDGOALS) RANDOM_STRING := some-random-string-to-id-this-makefile all: link-makefile.done