Merge pull request #3681 from kaspar030/add_info-modules_make_target

make: add info-modules make target
This commit is contained in:
Kaspar Schleiser 2015-08-26 10:27:41 +02:00
commit aa0e990e3e

View File

@ -191,7 +191,7 @@ BASELIBS += $(BINDIR)$(BOARD)_base.a
BASELIBS += $(BINDIR)${APPLICATION}.a BASELIBS += $(BINDIR)${APPLICATION}.a
BASELIBS += $(USEPKG:%=${BINDIR}%.a) BASELIBS += $(USEPKG:%=${BINDIR}%.a)
.PHONY: all clean flash term doc debug debug-server reset objdump help .PHONY: all clean flash term doc debug debug-server reset objdump help info-modules
.PHONY: ..in-docker-container .PHONY: ..in-docker-container
ELFFILE ?= $(BINDIR)$(APPLICATION).elf ELFFILE ?= $(BINDIR)$(APPLICATION).elf
@ -426,6 +426,9 @@ endif
help: help:
@$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\):.*/\1/p' | sort | uniq @$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\):.*/\1/p' | sort | uniq
info-modules:
@for i in $(sort $(USEMODULE)); do echo $$i; done
ifneq (,$(filter iotlab-m3 wsn430-v1_3b wsn430-v1_4,$(BOARD))) ifneq (,$(filter iotlab-m3 wsn430-v1_3b wsn430-v1_4,$(BOARD)))
include $(RIOTBASE)/dist/testbed-support/Makefile.iotlab include $(RIOTBASE)/dist/testbed-support/Makefile.iotlab
endif endif