mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/app_dirs.inc.mk: target to list supported applications/boards
Slow implementation to list all supported boards. It is adapted from what `.murdock` does without the `toolchain` handling.
This commit is contained in:
parent
d21b03fe54
commit
79814b6ca9
@ -1,4 +1,4 @@
|
||||
.PHONY: info-applications
|
||||
.PHONY: info-applications info-applications-supported-boards
|
||||
|
||||
# fallback so empty RIOTBASE won't lead to "/examples/"
|
||||
RIOTBASE ?= .
|
||||
@ -15,3 +15,9 @@ APPLICATION_DIRS := $(sort $(patsubst ./%,%,$(patsubst %/,%,$(dir $(wildcard \
|
||||
|
||||
info-applications:
|
||||
@for dir in $(APPLICATION_DIRS); do echo $$dir; done
|
||||
|
||||
# All applications / board output of `info-boards-supported`.
|
||||
info-applications-supported-boards:
|
||||
@for dir in $(APPLICATION_DIRS); do \
|
||||
make --no-print-directory -C $${dir} info-boards-supported 2>/dev/null | xargs -n 1 echo $${dir}; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user