mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make/*.mk: More performance tweaks
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ab872fe334
commit
f40356cf59
5 changed files with 25 additions and 21 deletions
|
|
@ -8,22 +8,3 @@ SUBDIRS ?= $(ORDERED_SUBDIRS) $(filter-out $(ORDERED_SUBDIRS),$(F
|
|||
#SUBDIRS ?= $(filter-out $(ORDERED_SUBDIRS),$(FIND_SUBDIRS))
|
||||
#SUBDIRS ?= $(FIND_SUBDIRS)
|
||||
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
ifndef PREREQ
|
||||
PREREQ := $(call proj_query,pkg-requires --no-version --no-subpackages --subsections=jw --delimiter=' ' build $(PROJECT))
|
||||
endif
|
||||
ifndef PREREQ_DIRS
|
||||
PREREQ_DIRS := $(call proj_query,proj-dir $(PREREQ))
|
||||
endif
|
||||
PREREQ_DIRS_DONE := $(addsuffix /dirs-all.done,$(filter-out $(TOPDIR) /opt/%,$(PREREQ_DIRS)))
|
||||
endif
|
||||
|
||||
ifneq ($(SUBDIRS_TO_ITERATE),)
|
||||
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
SUBDIR_TARGETS = all
|
||||
else
|
||||
SUBDIR_TARGETS = $(filter $(ALLOWED_SUBDIR_TARGETS),$(MAKECMDGOALS))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue