tile: remove DEBUG_EXTRA_FLAGS kernel config option
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 12 Aug 2013 19:09:18 +0000 (15:09 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 3 Sep 2013 18:52:17 +0000 (14:52 -0400)
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>
arch/tile/Kconfig.debug
arch/tile/Makefile

index b8d69f2757a168a9e87ed1c4ffafedc0b6770117..19734d3ab1e877e14df5b353399e6191d88016ec 100644 (file)
@@ -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
index 3d15364c60714bf661da140c8f6e67cde20001b3..4dc380a519d48ad2180279c38d64892cf662139b 100644 (file)
@@ -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)