diff --git a/Makefile.include b/Makefile.include index 5d20fd8315..93a0c82302 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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