diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-05-28 09:44:18 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-28 07:30:36 -0700 |
commit | fe70db89251961428ab2b83335b152f3311022fa (patch) | |
tree | 72c2b8231ab2ec23a3e2a730984dc27183be0bf5 /board/hammer | |
parent | cadc0f2513cb40a52ae70f66b34ff9f6abaa2250 (diff) | |
download | chrome-ec-fe70db89251961428ab2b83335b152f3311022fa.tar.gz |
test/build.mk: Allow boards to specify test lists
Some tests cannot be built on some boards (not enough SRAM,
unusual configuration, etc.). Instead of the long list of
exceptions in test/build.mk that we currently use, allow
each board (or chip) build.mk to set test-list-y, and
only use the default list if it is unset.
BRANCH=poppy
BUG=b:80167548
TEST=make buildalltests -j
Change-Id: I803c691f419451aad4396529302a4805cbe3f9b5
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1074572
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/hammer')
-rw-r--r-- | board/hammer/build.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/hammer/build.mk b/board/hammer/build.mk index 28652fee93..b32a6b768a 100644 --- a/board/hammer/build.mk +++ b/board/hammer/build.mk @@ -10,5 +10,8 @@ CHIP:=stm32 CHIP_FAMILY:=stm32f0 CHIP_VARIANT:=stm32f07x +# Build tests that we care about for hammer +test-list-y=entropy rsa3 sha256 sha256_unrolled x25519 + board-y=board.o board-$(CONFIG_BATTERY_SMART)+=battery.o |