summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-11-27 21:30:46 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-11-27 21:32:33 +0100
commit8c3a4960293141618d8435b5db27d928ae127ded (patch)
treefb34b5af48bd69e88795d2f141d326c0a8206d76 /common/Kconfig
parent0fb3ec4e7e5d57d9ac80b8fc5f49c1b9143b8f7a (diff)
downloadbarebox-8c3a4960293141618d8435b5db27d928ae127ded.tar.gz
barebox-8c3a4960293141618d8435b5db27d928ae127ded.tar.xz
add switch to enable debug symbols
Add a symbol to the "Debugging" menu which enables the debug symbols in u-boot-v2. This makes it possible to view the source code with 'objdump'. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 16a9a02a55..12ff729eb2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -185,6 +185,12 @@ endmenu
menu "Debugging "
+config DEBUG_INFO
+ bool
+ prompt "enable debug symbols"
+ help
+ Enable build of u-boot with -g.
+
config SKIP_LOWLEVEL_INIT
bool
depends on ARM