Build cbfstool with debug flags and don't strip the executable
from any symbol information. Variant of Ron's patch. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4637 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
057712a3b7
commit
ab13458c34
|
@ -42,10 +42,9 @@ clean:
|
||||||
tags:
|
tags:
|
||||||
ctags *.[ch]
|
ctags *.[ch]
|
||||||
|
|
||||||
CXXFLAGS=-DCOMPACT
|
CXXFLAGS=-DCOMPACT -g
|
||||||
CFLAGS=
|
CFLAGS=-g
|
||||||
LDFLAGS=
|
LDFLAGS=-g
|
||||||
|
|
||||||
$(obj)/cbfstool:$(COMMON)
|
$(obj)/cbfstool:$(COMMON)
|
||||||
$(HOSTCXX) $(LDFLAGS) -o $@ $^
|
$(HOSTCXX) $(LDFLAGS) -o $@ $^
|
||||||
strip $@
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ cbfsobj += cbfs-mkstage.o
|
||||||
cbfsobj += cbfs-mkpayload.o
|
cbfsobj += cbfs-mkpayload.o
|
||||||
cbfsobj += cbfstool.o
|
cbfsobj += cbfstool.o
|
||||||
|
|
||||||
CBFSTOOLFLAGS=-DCOMPACT
|
CBFSTOOLFLAGS=-DCOMPACT -g
|
||||||
|
|
||||||
$(obj)/util/cbfstool:
|
$(obj)/util/cbfstool:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
Loading…
Reference in New Issue