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

implement buildtest target

the target runs make for every board in boards
This commit is contained in:
Ludwig Ortmann 2013-11-12 14:57:17 +01:00
parent cc45909ffc
commit 50a2dbeaa1

View File

@ -99,3 +99,9 @@ doc:
debug:
$(DEBUGGER) $(DEBUGGER_FLAGS)
buildtest:
@for BOARD in $$(sed -n -e 's/ifeq[^,]*,\([^)]*\))/\1/p' $(RIOTBASE)/boards/Makefile.base); do \
echo -n "Building for $${BOARD} .. "; \
env -i PATH=$${PATH} BOARD=$${BOARD} $(MAKE) -B clean all >/dev/null 2>&1 && echo "success" || echo "failed" ; \
done