diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-09-10 09:04:13 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-09-10 09:10:24 +0200 |
commit | f95b2be74e14e98ee5d067335a710847947e13d8 (patch) | |
tree | c778b0f6b1fdfad8d548f102a61e80d38eddcbb3 /platforms | |
parent | b12577c4040de18bf7228c5f447032d10fb08c54 (diff) | |
download | ptxdist-f95b2be74e14e98ee5d067335a710847947e13d8.tar.gz ptxdist-f95b2be74e14e98ee5d067335a710847947e13d8.tar.xz |
wrapper: add debugging options
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/toolchain_options.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/platforms/toolchain_options.in b/platforms/toolchain_options.in index 1c4cb07fb..5a9794f26 100644 --- a/platforms/toolchain_options.in +++ b/platforms/toolchain_options.in @@ -38,6 +38,38 @@ config TARGET_LINKER_AS_NEEDED tell the linker to link in the produced binary only the libraries containing symbols actually used by the binary itself. +choice + prompt "debugging" + default TARGET_DEBUG_KEEP + + config TARGET_DEBUG_OFF + bool + prompt "disabled (force) " + help + Disable by force by adding '-g0' to the compiler + command-line. + + config TARGET_DEBUG_KEEP + bool + prompt "unchanged " + help + Add no debugging options to the compiler command-line. + + config TARGET_DEBUG_ENABLE + bool + prompt "enabled " + help + Enable debugging by adding "-g" to the compiler + command-line. + + config TARGET_DEBUG_FULL + bool + prompt "enabled (full) " + help + Enable debugging by adding "-ggdb3" to the compiler + command-line. +endchoice + config TARGET_EXTRA_CPPFLAGS string prompt "Extra CPPFLAGS (cpp)" |