public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arm26: one -g is enough for everyone  ;-)
@ 2005-08-19 20:28 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-08-19 20:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: spyro, linux-kernel

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@stusta.de>

---

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] arm26: one -g is enough for everyone  ;-)
@ 2005-08-10  0:24 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-08-10  0:24 UTC (permalink / raw)
  To: spyro; +Cc: linux-kernel

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@stusta.de>

--- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-19 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 20:28 [2.6 patch] arm26: one -g is enough for everyone ;-) Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-08-10  0:24 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox