Commit 2bf16fdd authored by Nishanth Menon's avatar Nishanth Menon

[Makefile] Add option for debug build

This allows us to debug with native debug tools like gdb/valgrind for
issues. While at it, add a default build optimization option - we want
to save on space a bit.
Signed-off-by: default avatarNishanth Menon <>
parent fe42a29e
......@@ -81,6 +81,11 @@ MYCFLAGS+=$(CFLAGS) -D_OMAP5430 -D_SC_VER_1_16 -c -Wall -Wextra\
-Wno-missing-field-initializers -I$(DEF_INC) $(DEF_INC_PATH)\
ifdef DEBUG
MYCFLAGS+=-g3 -fno-inline -O0 -DDEBUG
DESTDIR ?= target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment