summary refs log tree commit diff
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-12 15:09:18 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-09-03 14:52:17 -0400
commitbdb8205455a31362fc72075583aedd63ff0c944b (patch)
tree4751e4b26f490d360d19679fed431620bc79173c /arch/tile
parent640710a33b54de8d90ae140ef633ed0feba76a75 (diff)
downloadlinux-bdb8205455a31362fc72075583aedd63ff0c944b.tar.gz
tile: remove DEBUG_EXTRA_FLAGS kernel config option
It isn't used any more by us now that the generic kernel build
offers DEBUG_INFO_REDUCED, so just get rid of it.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/Kconfig.debug10
-rw-r--r--arch/tile/Makefile4
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/tile/Kconfig.debug b/arch/tile/Kconfig.debug
index b8d69f2757a1..19734d3ab1e8 100644
--- a/arch/tile/Kconfig.debug
+++ b/arch/tile/Kconfig.debug
@@ -14,16 +14,6 @@ config EARLY_PRINTK
 	  with klogd/syslogd. You should normally N here,
 	  unless you want to debug such a crash.
 
-config DEBUG_EXTRA_FLAGS
-	string "Additional compiler arguments when building with '-g'"
-	depends on DEBUG_INFO
-	default ""
-	help
-	  Debug info can be large, and flags like
-	  `-femit-struct-debug-baseonly' can reduce the kernel file
-	  size and build time noticeably.  Such flags are often
-	  helpful if the main use of debug info is line number info.
-
 config TILE_HVGLUE_TRACE
 	bool "Provide wrapper functions for hypervisor ABI calls"
 	default n
diff --git a/arch/tile/Makefile b/arch/tile/Makefile
index 3d15364c6071..4dc380a519d4 100644
--- a/arch/tile/Makefile
+++ b/arch/tile/Makefile
@@ -30,10 +30,6 @@ endif
 # In kernel modules, this causes load failures due to unsupported relocations.
 KBUILD_CFLAGS   += -fno-asynchronous-unwind-tables
 
-ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"")
-KBUILD_CFLAGS   += $(CONFIG_DEBUG_EXTRA_FLAGS)
-endif
-
 LIBGCC_PATH     := \
   $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)