diff options
author | Geoff Levand <geoff@infradead.org> | 2014-01-27 20:48:47 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-01-28 04:57:06 -0500 |
commit | 36c2be8e0d372ea69470e0933ed70ed5db82fac7 (patch) | |
tree | 8cd3eefc5ebbd4eaeaf386cd87a10a92f70932eb /arch/mn10300 | |
parent | 7db436325db821b400328563ed693b09f8c4c46c (diff) |
mn10300: Remove redundant debugging info flag
The generic makefile now sets '-Wa,--gdwarf2' in KBUILD_AFLAGS, so
this setting is no longer needed in arch makefiles.
Also remove a commented out addition of a -O1 to KBUILD_CFLAGS, and
comment text relating to these removed lines.
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/Makefile | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile index a3d0fef3b126..3f1ea5ddc402 100644 --- a/arch/mn10300/Makefile +++ b/arch/mn10300/Makefile | |||
@@ -92,14 +92,6 @@ define archhelp | |||
92 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' | 92 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' |
93 | endef | 93 | endef |
94 | 94 | ||
95 | # If you make sure the .S files get compiled with debug info, | ||
96 | # uncomment the following to disable optimisations | ||
97 | # that are unhelpful whilst debugging. | ||
98 | ifdef CONFIG_DEBUG_INFO | ||
99 | #KBUILD_CFLAGS += -O1 | ||
100 | KBUILD_AFLAGS += -Wa,--gdwarf2 | ||
101 | endif | ||
102 | |||
103 | # | 95 | # |
104 | # include the appropriate processor- and unit-specific headers | 96 | # include the appropriate processor- and unit-specific headers |
105 | # | 97 | # |