summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-04-28 14:44:07 +0800
committerChromeBot <chrome-bot@google.com>2013-04-29 03:47:50 -0700
commitdff3b9f2c0420a1f0889099f8e89b81fe5209313 (patch)
treeaf58c7e790c25a8621541f2acd793965cb8e487d /Makefile
parent950d507366cf66fb7a48d39c0612ccecd890fc19 (diff)
downloadchrome-ec-dff3b9f2c0420a1f0889099f8e89b81fe5209313.tar.gz
Make test-list a per-board parameter
Some tests are not applicable to all boards. This change makes test-list a per-board parameter so a test can be enabled/disabled for individual boards. Also disable all the tests that don't compile now. BUG=chrome-os-partner:18598 TEST=make tests for all boards BRANCH=None Change-Id: Id2d18e23856f5c64dbdc7c6ca5949f8ad61b5cc0 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/49452
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2af1aa662f..485a4f9f8a 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ _flag_cfg:=$(shell $(CPP) $(CPPFLAGS) -P -dN chip/$(CHIP)/config.h | \
$(shell $(CPP) $(CPPFLAGS) -P -dN board/$(BOARD)/board.h | \
grep -o "CONFIG_.*")
$(foreach c,$(_tsk_cfg) $(_flag_cfg),$(eval $(c)=y))
+$(eval BOARD_$(BOARD)=y)
# Get build configuration from sub-directories
-include private/build.mk