Skip to content

Commit 30d88cf

Browse files
committed
sh: Kill off extra cflags Kconfig entry.
There is no real reason to use this anymore, as the build system generally knows what it is doing with regards to cflags mangling. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 6eac1af commit 30d88cf

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

‎arch/sh/Kconfig.debug‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,6 @@ config SH_NO_BSS_INIT
122122
For all other cases, say N. If this option seems perplexing, or
123123
you aren't sure, say N.
124124

125-
config MORE_COMPILE_OPTIONS
126-
bool "Add any additional compile options"
127-
help
128-
If you want to add additional CFLAGS to the kernel build, enable this
129-
option and then enter what you would like to add in the next question.
130-
Note however that -g is already appended with the selection of KGDB.
131-
132-
config COMPILE_OPTIONS
133-
string "Additional compile arguments"
134-
depends on MORE_COMPILE_OPTIONS
135-
136125
config SH64_SR_WATCH
137126
bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
138127
depends on SUPERH64

‎arch/sh/Makefile‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml
7070
cflags-y += $(call cc-option,-mno-fdpic)
7171
cflags-y += $(isaflags-y) -ffreestanding
7272

73-
cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \
74-
$(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
75-
7673
OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment \
7774
-R .stab -R .stabstr -S
7875

0 commit comments

Comments
 (0)