Update Makefile.rules with a showboards target

This prints all the boards that are part of the build.  This will be
used on coreboot's build system for running coverity.  This allows
the builds to keep in sync as platforms are added, and as anything is
added to the "skip_boards" list.

for board in $(make showboards); do
   make proj-$board CROSS_COMPILE="arm-eabi-"
done

BUG=none
BRANCH=none
TEST=make showboards shows boards, and excludes skip_boards list

Change-Id: I34d8bc95cc5c7d05b4f2ec38b16b75f9f0c72c6f
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/403498
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
Martin Roth
2016-10-25 17:54:37 -07:00
committed by chrome-bot
parent 2051adae6d
commit 2bdc25c2e1

View File

@@ -104,6 +104,9 @@ buildall:
@touch .tests-passed
@echo "$@ completed successfully!"
showboards:
@echo $(sort $(boards))
# Print any important notices at the end of the build.
.PHONY: notice
notice: $(config)