[2.6 patch] arm26: one -g is enough for everyone ;-)

From: Adrian Bunk
Date: Fri Aug 19 2005 - 15:29:13 EST


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.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 10 Aug 2005

--- linux-2.6.13-rc5-mm1/arch/arm26/Makefile.old 2005-08-10 02:18:56.000000000 +0200
+++ linux-2.6.13-rc5-mm1/arch/arm26/Makefile 2005-08-10 02:19:28.000000000 +0200
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/