mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
build.mk: don't search target.mk files w/o src dir
Let the build system skip the search for target.mk files in repositories that don't have a src/ directory.
This commit is contained in:
parent
a804802bcd
commit
a025ff9237
@ -165,7 +165,7 @@ $(dir $(LIB_DEP_FILE)):
|
||||
# Find all 'target.mk' files located within any of the specified subdirectories
|
||||
# ('DST_DIRS') and any repository. The 'sort' is used to remove duplicates.
|
||||
#
|
||||
TARGETS_TO_VISIT := $(shell find $(REPOSITORIES:=/src) -false \
|
||||
TARGETS_TO_VISIT := $(shell find $(wildcard $(REPOSITORIES:=/src)) -false \
|
||||
$(foreach DST,$(DST_DIRS), \
|
||||
-or -path "*/src/$(DST)/**target.mk" \
|
||||
-printf " %P "))
|
||||
|
Loading…
x
Reference in New Issue
Block a user