Skip to content

Commit 0c43315

Browse files
committed
Hotfix: better error messages for missing modules
1 parent 1b9222f commit 0c43315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

makefiles/firmware.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ MODULES := $(sort $(MODULES))
201201
# locate the first instance of a module by full path or by looking on the
202202
# module search path
203203
define MODULE_SEARCH
204-
$(abspath $(firstword $(wildcard $(1)/module.mk) \
205-
$(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk)) \
206-
MISSING_$1))
204+
$(firstword $(abspath $(wildcard $(1)/module.mk)) \
205+
$(abspath $(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk))) \
206+
MISSING_$1)
207207
endef
208208

209209
# make a list of module makefiles and check that we found them all

0 commit comments

Comments
 (0)