diff options
author | Geoff Levand <geoff@infradead.org> | 2014-01-27 20:48:34 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-01-28 04:57:24 -0500 |
commit | bf705ad0c364ea375b3a5e89fa8a0e1c1fde994c (patch) | |
tree | abd471cde97115206574c051cad51ee149932695 /arch/frv/Makefile | |
parent | 36c2be8e0d372ea69470e0933ed70ed5db82fac7 (diff) |
frv: 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/frv/Makefile')
-rw-r--r-- | arch/frv/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/frv/Makefile b/arch/frv/Makefile index 4d1b1e9baef1..2a8fb730d1ca 100644 --- a/arch/frv/Makefile +++ b/arch/frv/Makefile | |||
@@ -74,13 +74,6 @@ KBUILD_CFLAGS += -mno-fdpic -mgpr-32 -msoft-float -mno-media | |||
74 | KBUILD_CFLAGS += -ffixed-fcc3 -ffixed-cc3 -ffixed-gr15 -ffixed-icc2 | 74 | KBUILD_CFLAGS += -ffixed-fcc3 -ffixed-cc3 -ffixed-gr15 -ffixed-icc2 |
75 | KBUILD_AFLAGS += -mno-fdpic | 75 | KBUILD_AFLAGS += -mno-fdpic |
76 | 76 | ||
77 | # make sure the .S files get compiled with debug info | ||
78 | # and disable optimisations that are unhelpful whilst debugging | ||
79 | ifdef CONFIG_DEBUG_INFO | ||
80 | #KBUILD_CFLAGS += -O1 | ||
81 | KBUILD_AFLAGS += -Wa,--gdwarf2 | ||
82 | endif | ||
83 | |||
84 | head-y := arch/frv/kernel/head.o | 77 | head-y := arch/frv/kernel/head.o |
85 | 78 | ||
86 | core-y += arch/frv/kernel/ arch/frv/mm/ | 79 | core-y += arch/frv/kernel/ arch/frv/mm/ |