mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
dirs.mk, projects.py: Take prerequisites dir check from project.conf
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1d22dfa49f
commit
86afe4fc10
2 changed files with 17 additions and 3 deletions
|
|
@ -29,7 +29,9 @@ SUBDIR_TARGETS = $(filter $(ALLOWED_SUBDIR_TARGETS),$(MAKECMDGOALS))
|
|||
endif
|
||||
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
PREREQ_DIRS_DONE = $(addsuffix /dirs-all.done,$(filter-out $(TOPDIR) /opt/%,$(foreach p,$(PREREQ),$($(p)_DIR))))
|
||||
PREREQ += $(call proj_query, prereq build $(PROJECT))
|
||||
PREREQ_DIRS = $(foreach p, $(PREREQ), $(call proj_dir, $(p)))
|
||||
PREREQ_DIRS_DONE = $(addsuffix /dirs-all.done,$(filter-out $(TOPDIR) /opt/%,$(PREREQ_DIRS)))
|
||||
endif
|
||||
|
||||
all: dirs-all.done
|
||||
|
|
@ -88,3 +90,4 @@ dirs.distclean:
|
|||
$(make_dirs)
|
||||
|
||||
endif # SUBDIRS_TO_ITERATE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue