Generate and extract debug sysmbols for coreboot. *.debug files can be
[coreboot.git] / Makefile
index 247daccc01fc3f9e6bd7e0a4bce3c5e7955d4b24..771f48de8d117c88903902acb3be034d90ddf941 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -287,7 +287,7 @@ INCLUDES += -Isrc/devices/oprom/include
 # abspath is a workaround for romcc
 INCLUDES += -include $(abspath $(obj)/config.h)
 
-CFLAGS = $(INCLUDES) -Os -nostdinc -pipe
+CFLAGS = $(INCLUDES) -Os -nostdinc -pipe -g
 CFLAGS += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
 CFLAGS += -Wstrict-aliasing -Wshadow