forked from Archive/PX4-Autopilot
Hotfix: better error messages for missing modules
This commit is contained in:
parent
1b9222f43a
commit
0c43315c1e
|
@ -201,9 +201,9 @@ MODULES := $(sort $(MODULES))
|
||||||
# locate the first instance of a module by full path or by looking on the
|
# locate the first instance of a module by full path or by looking on the
|
||||||
# module search path
|
# module search path
|
||||||
define MODULE_SEARCH
|
define MODULE_SEARCH
|
||||||
$(abspath $(firstword $(wildcard $(1)/module.mk) \
|
$(firstword $(abspath $(wildcard $(1)/module.mk)) \
|
||||||
$(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk)) \
|
$(abspath $(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk))) \
|
||||||
MISSING_$1))
|
MISSING_$1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# make a list of module makefiles and check that we found them all
|
# make a list of module makefiles and check that we found them all
|
||||||
|
|
Loading…
Reference in New Issue