This patch makes the recently added assembler debug optional, as it may
cause problems with certain toolchains. This patch will also safe some hard disk space for those of us working on laptops or netbooks with always too small disks. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3876 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
94f17773ef
commit
ef6cb094b8
@@ -10,6 +10,10 @@ makedefine GCC_INC_DIR := $(shell LC_ALL=C $(CC) -print-search-dirs | sed -ne "s
|
||||
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
|
||||
makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
|
||||
|
||||
if ASSEMBLER_DEBUG
|
||||
makedefine DEBUG_CFLAGS := -g -dA -fverbose-asm
|
||||
end
|
||||
|
||||
makedefine HOSTCFLAGS:= -Os -Wall
|
||||
|
||||
makerule ldscript.ld
|
||||
|
@@ -501,8 +501,12 @@ define CONFIG_USE_PRINTK_IN_CAR
|
||||
export always
|
||||
comment "use printk instead of print in CAR stage code"
|
||||
end
|
||||
define ASSEMBLER_DEBUG
|
||||
default none
|
||||
export used
|
||||
comment "Create disassembly files for debugging"
|
||||
end
|
||||
|
||||
|
||||
###############################################
|
||||
# Mainboard options
|
||||
###############################################
|
||||
|
Reference in New Issue
Block a user