summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-04-04 21:38:22 +0800
committerChromeBot <chrome-bot@google.com>2013-04-10 01:08:45 -0700
commit8a06eb1d35cb460fb5669c720262d437f54b0101 (patch)
tree9a029fc001ed24bf023f89d35b5696926085e539 /Makefile.rules
parent64ae15f3b3c743a8b98af7754871c0ba7470becd (diff)
downloadchrome-ec-8a06eb1d35cb460fb5669c720262d437f54b0101.tar.gz
Only includes necessary tasks for test binaries
This changes current TASK() syntax to TASK_BASE() and TASK_NORMAL(), where TASK_BASE is necessary for the EC to boot on a board and TASK_NORMAL represents the task that can be removed in a test binary. Tasks introduced by a test should be listed as TASK_TEST(). Note that this CL breaks current tests (many of them are broken anyway), which will be fixed in up coming CLs. BUG=chrome-os-partner:18598 TEST=Build link/bds/spring/snow/daisy/mccroskey. (mccroskey failed for unrelated issue) BRANCH=none Change-Id: Ic645cdae0906ed21dc473553f1f43c2537ec4bb9 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47531
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 50709aa64c..ae173eab98 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -63,7 +63,7 @@ $(test-targets): test-%:
@set -e ; \
echo " BUILD $(out)/$*" ; \
$(MAKE) --no-print-directory BOARD=$(BOARD) PROJECT=$* \
- V=$(V) out=$(out)/$*
+ V=$(V) out=$(out)/$* TEST_BUILD=y
$(qemu-test-targets): qemu-%: test-%
$(call quiet,qemu,TEST )