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

Merge pull request #322 from LudwigOrtmann/issue_320

implement buildtest target
This commit is contained in:
LudwigOrtmann 2013-11-14 02:58:03 -08:00
commit 59fcd53ae4

View File

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