1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

make: Add target to show if boards that are supported by apps

This commit is contained in:
Martine Lenders 2014-08-09 03:33:45 +02:00
parent de2f164ee6
commit 0c68712fa8

View File

@ -141,6 +141,14 @@ $(USEPKG:%=${BINDIR}%.a):
@mkdir -p ${BINDIR}
"$(MAKE)" -C $(RIOTBASE)/pkg/$(patsubst ${BINDIR}%.a,%,$@)
info-boards-supported: BOARDS=$(shell find $(RIOTBASE)/boards/* -maxdepth 0 -type d \! -name *-common)
info-boards-supported:
ifneq (,$(BOARD_WHITELIST))
@echo "$(filter $(BOARD_WHITELIST), $(foreach _board, $(BOARDS), $(shell echo "$(_board)" | xargs basename)))"
else
@echo "$(filter-out $(BOARD_INSUFFICIENT_RAM), $(filter-out $(BOARD_BLACKLIST), $(foreach _board, $(BOARDS), $(shell echo "$(_board)" | xargs basename))))"
endif
clean:
@for i in $(USEPKG) ; do "$(MAKE)" -C $(RIOTBASE)/pkg/$$i clean || exit 1; done
rm -rf $(BINDIR) $(CLEANFILES)