From ab13458c34961cd709604c68059a9b209607e0b9 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 16 Sep 2009 08:19:07 +0000 Subject: 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 Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4637 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/cbfstool/Makefile | 7 +++---- util/cbfstool/Makefile.inc | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index 2170bec2d4..94712bdd6d 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -42,10 +42,9 @@ clean: tags: ctags *.[ch] -CXXFLAGS=-DCOMPACT -CFLAGS= -LDFLAGS= +CXXFLAGS=-DCOMPACT -g +CFLAGS=-g +LDFLAGS=-g $(obj)/cbfstool:$(COMMON) $(HOSTCXX) $(LDFLAGS) -o $@ $^ - strip $@ diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 7c50822331..782ce375b3 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -16,7 +16,7 @@ cbfsobj += cbfs-mkstage.o cbfsobj += cbfs-mkpayload.o cbfsobj += cbfstool.o -CBFSTOOLFLAGS=-DCOMPACT +CBFSTOOLFLAGS=-DCOMPACT -g $(obj)/util/cbfstool: mkdir -p $@ -- cgit v1.2.3