summaryrefslogtreecommitdiff
path: root/chip
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 /chip
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 'chip')
-rw-r--r--chip/g/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 7dc0b744df..f54a5de8ac 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -113,6 +113,9 @@ dirs-y += chip/g/dcrypto
dirs-y += chip/g/loader
endif
+# Do not build any test on chip/g
+test-list-y=
+
%.hex: %.flat
ifneq ($(CONFIG_RW_B),)