summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-08 11:20:56 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2009-05-08 11:20:56 (GMT)
commit30d88cf52f229c3e0c90b8d71036960ccc2db4e2 (patch)
treeac47f1aa17fd4138f6b0ac7e192896caa050f124 /arch
parent6eac1af01112d1919b1c432f6591e6368e8d538f (diff)
downloadlinux-fsl-qoriq-30d88cf52f229c3e0c90b8d71036960ccc2db4e2.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/Kconfig.debug11
-rw-r--r--arch/sh/Makefile3
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 44627ef..8179cc9 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -122,17 +122,6 @@ config SH_NO_BSS_INIT
For all other cases, say N. If this option seems perplexing, or
you aren't sure, say N.
-config MORE_COMPILE_OPTIONS
- bool "Add any additional compile options"
- help
- If you want to add additional CFLAGS to the kernel build, enable this
- option and then enter what you would like to add in the next question.
- Note however that -g is already appended with the selection of KGDB.
-
-config COMPILE_OPTIONS
- string "Additional compile arguments"
- depends on MORE_COMPILE_OPTIONS
-
config SH64_SR_WATCH
bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
depends on SUPERH64
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 493da97..68348e7 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -70,9 +70,6 @@ cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml
cflags-y += $(call cc-option,-mno-fdpic)
cflags-y += $(isaflags-y) -ffreestanding
-cflags-$(CONFIG_MORE_COMPILE_OPTIONS) += \
- $(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
-
OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment \
-R .stab -R .stabstr -S