diff options
author | Simon Glass <sjg@chromium.org> | 2013-08-15 21:27:31 -0600 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-25 16:57:26 -0700 |
commit | e4759b782dff166600dbbfac884462babb433fac (patch) | |
tree | a23440eead2c799f15f3975001fb14a42524d9da | |
parent | 981cb2acdc2f26ae27732a4e590c326787936381 (diff) | |
download | vboot-e4759b782dff166600dbbfac884462babb433fac.tar.gz |
Enable debug flags when building natively
It is still useful to build natively with debugging, particularly when
improving test code, so add this to the compiler flags in this case.
BUG=chrome-os-partner:21115
BRANCH=pit
TEST=manual
'make DEBUG=1' in the vboot directory within the chroot. See that the test
executables are now build with debugging info and gdb has line number
information.
Change-Id: Icaedae67151883673525930e25cf8b1f30654339
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/66172
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ else # FIRMWARE_ARCH not defined; assuming local compile. CC ?= gcc CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall -Werror # HEY: always want last two? +CFLAGS += ${DEBUG_FLAGS} endif ifneq (${OLDDIR},) |