summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/Makefile7
-rw-r--r--util/cbfstool/Makefile.inc2
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 $@