From 0bfb7ddd0713b3476a077f905e96dfa9b1e22d86 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 24 Apr 2013 14:39:53 -0700 Subject: Replace generated CONFIG_TASK_ macros with HAS_TASK_ CONFIG_ macros should be set directly. Expanding the task names in the same way made it difficult to tell what was a configuration choice and what was due to changes in ec.tasklist BUG=chrome-os-partner:18343 TEST=build all, run link BRANCH=none Change-Id: Ib82e34f974238ee2dd216f33b701b6f4c6a4f1f1 Signed-off-by: Bill Richardson Reviewed-on: https://gerrit.chromium.org/gerrit/49098 Reviewed-by: Randall Spangler --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 51f8db91d3..2af1aa662f 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ else -Iboard/$(BOARD) -D"TASK_NOTEST(n, r, d, s)=n" \ -D"TASK_ALWAYS(n, r, d, s)=n" -imacros ec.tasklist) endif -_tsk_cfg:=$(foreach t,$(_tsk_lst) ,CONFIG_TASK_$(t)) +_tsk_cfg:=$(foreach t,$(_tsk_lst) ,HAS_TASK_$(t)) CPPFLAGS+=$(foreach t,$(_tsk_cfg),-D$(t)) _flag_cfg:=$(shell $(CPP) $(CPPFLAGS) -P -dN chip/$(CHIP)/config.h | \ grep -o "CONFIG_.*") \ -- cgit v1.2.1