From 9729e65706f46bd04d6e5946e20bd3c7ff4d7cc3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 13 Dec 2006 17:44:24 +0000 Subject: - honor CONFIG_DEBUG --- Makefile.flags | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.flags') diff --git a/Makefile.flags b/Makefile.flags index bb5cef0d9..0261d34df 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -20,3 +20,9 @@ CFLAGS += \ -funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \ -Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \ -fomit-frame-pointer -ffunction-sections -fdata-sections + +ifeq ($(CONFIG_DEBUG),y) +CFLAGS += -g +LDFLAGS += -g +endif + -- cgit v1.2.3