Author: oxygene Date: 2009-09-16 10:19:07 +0200 (Wed, 16 Sep 2009) New Revision: 4637
Modified: trunk/coreboot-v2/util/cbfstool/Makefile trunk/coreboot-v2/util/cbfstool/Makefile.inc Log: 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
Modified: trunk/coreboot-v2/util/cbfstool/Makefile =================================================================== --- trunk/coreboot-v2/util/cbfstool/Makefile 2009-09-15 23:38:27 UTC (rev 4636) +++ trunk/coreboot-v2/util/cbfstool/Makefile 2009-09-16 08:19:07 UTC (rev 4637) @@ -42,10 +42,9 @@ tags: ctags *.[ch]
-CXXFLAGS=-DCOMPACT -CFLAGS= -LDFLAGS= +CXXFLAGS=-DCOMPACT -g +CFLAGS=-g +LDFLAGS=-g
$(obj)/cbfstool:$(COMMON) $(HOSTCXX) $(LDFLAGS) -o $@ $^ - strip $@
Modified: trunk/coreboot-v2/util/cbfstool/Makefile.inc =================================================================== --- trunk/coreboot-v2/util/cbfstool/Makefile.inc 2009-09-15 23:38:27 UTC (rev 4636) +++ trunk/coreboot-v2/util/cbfstool/Makefile.inc 2009-09-16 08:19:07 UTC (rev 4637) @@ -16,7 +16,7 @@ cbfsobj += cbfs-mkpayload.o cbfsobj += cbfstool.o
-CBFSTOOLFLAGS=-DCOMPACT +CBFSTOOLFLAGS=-DCOMPACT -g
$(obj)/util/cbfstool: mkdir -p $@