summaryrefslogtreecommitdiff
path: root/board/coffeecake
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-05-28 09:44:18 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-05-28 07:30:36 -0700
commitfe70db89251961428ab2b83335b152f3311022fa (patch)
tree72c2b8231ab2ec23a3e2a730984dc27183be0bf5 /board/coffeecake
parentcadc0f2513cb40a52ae70f66b34ff9f6abaa2250 (diff)
downloadchrome-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/coffeecake')
-rw-r--r--board/coffeecake/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/coffeecake/build.mk b/board/coffeecake/build.mk
index 277c5c60f6..fb5a6fccdb 100644
--- a/board/coffeecake/build.mk
+++ b/board/coffeecake/build.mk
@@ -10,5 +10,8 @@ CHIP:=stm32
CHIP_FAMILY:=stm32f0
CHIP_VARIANT:=stm32f07x
+# Not enough SRAM: Disable all tests
+test-list-y=
+
board-y=board.o
board-$(CONFIG_USB_POWER_DELIVERY)+=usb_pd_policy.o