diff --git a/Makefile b/Makefile index 1027cec..52f5483 100644 --- a/Makefile +++ b/Makefile @@ -457,9 +457,7 @@ include $(srctree)/arch/$(ARCH)/Makefile -ifdef CONFIG_DEBUG_INFO -CFLAGS += -g -endif +CFLAGS += -ggdb3 # Force gcc to behave correct even for buggy distributions CFLAGS += $(call cc-option, -fno-stack-protector) diff --git a/common/Kconfig b/common/Kconfig index 7832df5..ffb7537 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -999,12 +999,6 @@ 7 debug-level messages (debug) 8 verbose debug messages (vdebug) -config DEBUG_INFO - bool - prompt "enable debug symbols" - help - Enable build of barebox with -g. - config DEBUG_LL bool depends on HAS_DEBUG_LL