summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-09-06 15:17:34 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:31 -0700
commit439c430e3d448b16112de3f3d92bef6ee2639d89 (patch)
treeff2ae6463f35fac22e2904752ddf8b0250c5a633
parentbc505a478d3fffcfb269b72f64df4510305cfe81 (diff)
downloadop-kernel-dev-439c430e3d448b16112de3f3d92bef6ee2639d89.zip
op-kernel-dev-439c430e3d448b16112de3f3d92bef6ee2639d89.tar.gz
[PATCH] 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. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Ian Molton <spyro@f2s.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/arm26/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm26/Makefile b/arch/arm26/Makefile
index ada8985..e9cb8ef 100644
--- a/arch/arm26/Makefile
+++ b/arch/arm26/Makefile
@@ -17,10 +17,6 @@ ifeq ($(CONFIG_FRAME_POINTER),y)
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
OpenPOWER on IntegriCloud