aboutsummaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-05-13 22:20:08 -0700
committerpx4dev <px4@purgatory.org>2013-05-13 22:20:08 -0700
commit0c43315c1ed8538daee9ad47c14731c295c2dda2 (patch)
tree6a5b316327aeaf26036f7b15e8eedfcf344bfee1 /makefiles
parent1b9222f43a8b27befaecbd088b5ebeb3f09b8a8e (diff)
downloadpx4-firmware-0c43315c1ed8538daee9ad47c14731c295c2dda2.tar.gz
px4-firmware-0c43315c1ed8538daee9ad47c14731c295c2dda2.tar.bz2
px4-firmware-0c43315c1ed8538daee9ad47c14731c295c2dda2.zip
Hotfix: better error messages for missing modules
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/firmware.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefiles/firmware.mk b/makefiles/firmware.mk
index 7afa3e787..497e79237 100644
--- a/makefiles/firmware.mk
+++ b/makefiles/firmware.mk
@@ -201,9 +201,9 @@ MODULES := $(sort $(MODULES))
# locate the first instance of a module by full path or by looking on the
# module search path
define MODULE_SEARCH
- $(abspath $(firstword $(wildcard $(1)/module.mk) \
- $(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk)) \
- MISSING_$1))
+ $(firstword $(abspath $(wildcard $(1)/module.mk)) \
+ $(abspath $(foreach search_dir,$(MODULE_SEARCH_DIRS),$(wildcard $(search_dir)/$(1)/module.mk))) \
+ MISSING_$1)
endef
# make a list of module makefiles and check that we found them all