summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-01-10 14:09:02 -0800
committerRandall Spangler <rspangler@chromium.org>2012-01-10 14:14:59 -0800
commit39f86d2fad567661d64716d9e6e815802835ccaa (patch)
treedfc253556afea85e85155a4fc6da756603da8b6d /Makefile.toolchain
parent55ffdb465b7cdfb19380c681ae4542d4022a6aa2 (diff)
downloadchrome-ec-39f86d2fad567661d64716d9e6e815802835ccaa.tar.gz
Split power button code into its own file
Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:7499 TEST=press and release power button; should see debug messages Change-Id: I8909ae4643afc98753edb690771618ad43135e3e
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index a7a961c4f8..e3d59ea15e 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -24,7 +24,8 @@ CFLAGS_WARN=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack
CFLAGS_DEBUG= -g
CFLAGS_INCLUDE=$(foreach i,$(includes),-I$(i) )
-CFLAGS_DEFINE=-DOUTDIR=$(out) -DCHIP=$(CHIP) -DTASKFILE=$(PROJECT).tasklist
+CFLAGS_DEFINE=-DOUTDIR=$(out) -DCHIP=$(CHIP) -DTASKFILE=$(PROJECT).tasklist \
+ -DBOARD=$(BOARD) -DBOARD_$(BOARD)
CPPFLAGS=$(CFLAGS_DEFINE) $(CFLAGS_INCLUDE)
CFLAGS=$(CPPFLAGS) $(CFLAGS_CPU) $(CFLAGS_DEBUG) $(CFLAGS_WARN)
BUILD_CFLAGS=$(CPPFLAGS) -O3 $(CFLAGS_DEBUG) $(CFLAGS_WARN)