Skip to contentSkip to conversation

arm26: one -g is enough for everyone ;-)

PATCH New Adrian Bunk 1 participant 1 message Aug 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm26: one -g is enough for everyone ;-)

The main Makefile is already adding -g to the CFLAGS if CONFIG_DEBUG_INFO=y.

Not that two -g would do harm, but one works as well.

arch/arm26/Makefile renamed from arch/arm26/Makefile.old +0 -4
@@ -17,10 +17,6 @@
 CFLAGS		+=-fno-omit-frame-pointer -mno-sched-prolog
 endif
 
-ifeq ($(CONFIG_DEBUG_INFO),y)
-CFLAGS		+=-g
-endif
-
 CFLAGS_BOOT	:=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm
 CFLAGS		+=-mapcs-26 -mcpu=arm3 -msoft-float -Uarm
 AFLAGS		+=-mapcs-26 -mcpu=arm3 -msoft-float