summaryrefslogtreecommitdiff
path: root/cts
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2016-07-25 16:09:21 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-26 15:16:46 -0700
commitb3b92f45fdccd28c117a17bd4450d23a55d72210 (patch)
treea5560b2b3c3d35519e0347b3133a0ee08c7290bd /cts
parent136ca23afe6ddffffe8c6403f9bc80e705e59a92 (diff)
downloadchrome-ec-b3b92f45fdccd28c117a17bd4450d23a55d72210.tar.gz
cts: Move C flags to cts/build.mk
We should separate global Makefile from CTS stuff as much as possible. This makes reading and chaging code simpler. BUG=none BRANCH=none TEST=make buildall Change-Id: If9e99e0e9b660707b1e22f2362bd6f782930dc09 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/363006 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Chris Chen <twothreecc@google.com>
Diffstat (limited to 'cts')
-rw-r--r--cts/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/cts/build.mk b/cts/build.mk
index 6766a9fb4c..59fa85547c 100644
--- a/cts/build.mk
+++ b/cts/build.mk
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+CFLAGS_CTS=-DCTS_MODULE -DCTS_TASKFILE=cts.tasklist
+
ifeq ($(BOARD),stm32l476g-eval)
cts-y+=$(CTS_MODULE)/th.o
cts-y+=common/th_common.o