diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,12 +31,12 @@ else -D"TASK_ALWAYS(n, r, d, s)=n" -imacros ec.tasklist) endif _tsk_cfg:=$(foreach t,$(_tsk_lst) ,CONFIG_TASK_$(t)) +CPPFLAGS+=$(foreach t,$(_tsk_cfg),-D$(t)) _flag_cfg:=$(shell $(CPP) $(CPPFLAGS) -P -dN chip/$(CHIP)/config.h | \ grep -o "CONFIG_.*") \ $(shell $(CPP) $(CPPFLAGS) -P -dN board/$(BOARD)/board.h | \ grep -o "CONFIG_.*") $(foreach c,$(_tsk_cfg) $(_flag_cfg),$(eval $(c)=y)) -CPPFLAGS+=$(foreach t,$(_tsk_cfg),-D$(t)) # Get build configuration from sub-directories -include private/build.mk |