make: Beautify *.mk #31

Merged
Jan Lindemann merged 6 commits from jan/feature/20260624-defs-mk-add-slice-to-local-systemd into master 2026-06-24 21:50:32 +02:00 AGit
Showing only changes of commit 4660a34305 - Show all commits

platform.mk: Move include .cache-project.mk up

Reverse inclusion order of .cache-project.mk and cache-projects.mk: Definitions in .cache-project.mk should win over cache-projects.mk, because it's the more specialized include file, and the way the definitions in both files are structured, the later doesn't overwrite the earlier.

Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann 2026-06-18 12:27:31 +02:00
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -12,8 +12,8 @@ endef
CACHE_PROJECTS_MK := $(JWBDIR)/cache-projects.mk
$(eval $(call try_include,$(CACHE_PROJECTS_MK)))
$(eval $(call try_include,$(TOPDIR)/make/.cache-project.mk))
$(eval $(call try_include,$(CACHE_PROJECTS_MK)))
$(eval $(call try_include,$(JWBDIR)/make/pre-local.mk))
$(eval $(call try_include,$(TOPDIR)/make/pre-local.mk))
$(eval $(call try_include,pre-local.mk))