Commit 8745f368 authored by Sam Ravnborg's avatar Sam Ravnborg

arch/um: Renamed CONFIG_DEBUGSYM to CONFIG_DEBUG_INFO

parent a06f9f6d
...@@ -219,7 +219,7 @@ config DEBUG_SLAB ...@@ -219,7 +219,7 @@ config DEBUG_SLAB
config DEBUG_SPINLOCK config DEBUG_SPINLOCK
bool "Debug spinlocks usage" bool "Debug spinlocks usage"
config DEBUGSYM config DEBUG_INFO
bool "Enable kernel debugging symbols" bool "Enable kernel debugging symbols"
help help
When this is enabled, the User-Mode Linux binary will include When this is enabled, the User-Mode Linux binary will include
...@@ -232,15 +232,15 @@ config DEBUGSYM ...@@ -232,15 +232,15 @@ config DEBUGSYM
config FRAME_POINTER config FRAME_POINTER
bool bool
default y if DEBUGSYM default y if DEBUG_INFO
config PT_PROXY config PT_PROXY
bool "Enable ptrace proxy" bool "Enable ptrace proxy"
depends on XTERM_CHAN && DEBUGSYM depends on XTERM_CHAN && DEBUG_INFO
config GPROF config GPROF
bool "Enable gprof support" bool "Enable gprof support"
depends on DEBUGSYM depends on DEBUG_INFO
help help
This allows profiling of a User-Mode Linux kernel with the gprof This allows profiling of a User-Mode Linux kernel with the gprof
utility. utility.
...@@ -253,7 +253,7 @@ config GPROF ...@@ -253,7 +253,7 @@ config GPROF
config GCOV config GCOV
bool "Enable gcov support" bool "Enable gcov support"
depends on DEBUGSYM depends on DEBUG_INFO
help help
This option allows developers to retrieve coverage data from a UML This option allows developers to retrieve coverage data from a UML
session. session.
......
...@@ -13,12 +13,10 @@ OS := $(shell uname -s) ...@@ -13,12 +13,10 @@ OS := $(shell uname -s)
# EXTRAVERSION... # EXTRAVERSION...
MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
ifeq ($(CONFIG_DEBUGSYM),y) ifeq ($(CONFIG_DEBUG_INFO),y)
CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS)) CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS))
endif endif
CFLAGS-$(CONFIG_DEBUGSYM) += -g
core-y += $(ARCH_DIR)/kernel/ \ core-y += $(ARCH_DIR)/kernel/ \
$(ARCH_DIR)/drivers/ \ $(ARCH_DIR)/drivers/ \
$(ARCH_DIR)/sys-$(SUBARCH)/ $(ARCH_DIR)/sys-$(SUBARCH)/
......
...@@ -329,7 +329,7 @@ CONFIG_NLS_DEFAULT="iso8859-1" ...@@ -329,7 +329,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"
# Kernel hacking # Kernel hacking
# #
# CONFIG_DEBUG_SLAB is not set # CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUGSYM is not set # CONFIG_DEBUG_INFO is not set
# CONFIG_PT_PROXY is not set # CONFIG_PT_PROXY is not set
# CONFIG_GPROF is not set # CONFIG_GPROF is not set
# CONFIG_GCOV is not set # CONFIG_GCOV is not set
...@@ -399,7 +399,7 @@ CONFIG_MTD_BLKMTD=m ...@@ -399,7 +399,7 @@ CONFIG_MTD_BLKMTD=m
# #
# CONFIG_DEBUG_SLAB is not set # CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_SPINLOCK is not set
CONFIG_DEBUGSYM=y CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y CONFIG_FRAME_POINTER=y
CONFIG_PT_PROXY=y CONFIG_PT_PROXY=y
# CONFIG_GPROF is not set # CONFIG_GPROF is not set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment