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

[SQUASH ME] make: move info-boards-supported to Makefile.buildtests

This commit is contained in:
Martine Lenders 2014-08-11 11:28:17 +02:00
parent 0c68712fa8
commit 30fc8671cd
2 changed files with 7 additions and 8 deletions

View File

@ -206,3 +206,10 @@ buildinfo:
@echo ''
@echo -e 'MAKEFILE_LIST:$(patsubst %, \n\t%, $(abspath $(MAKEFILE_LIST)))'
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

View File

@ -141,14 +141,6 @@ $(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)