From fe70db89251961428ab2b83335b152f3311022fa Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Mon, 28 May 2018 09:44:18 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1074572 Reviewed-by: Vincent Palatin --- chip/g/build.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chip') 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),) -- cgit v1.2.1