summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-10-25 17:54:37 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-16 19:04:27 -0800
commit2bdc25c2e11b5a155e23d0f77e331d3dd3545eef (patch)
tree1e47f9627aa5e372c0766b79e0275816c776ac72 /Makefile.rules
parent2051adae6d6b357b03e890d80455a9cd5b13fce8 (diff)
downloadchrome-ec-2bdc25c2e11b5a155e23d0f77e331d3dd3545eef.tar.gz
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>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 25131515ec..404454dc2a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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)