summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-04 12:41:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-04 12:41:39 +0200
commitacb671315574cf094c213d307845654f036705bb (patch)
tree247ff65ced3770d543c9a257de97c631674507d7 /target
parentc6ad4e2ef5328dc518016a178c5b3b4063287556 (diff)
add some debug related optimization
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.toolchain18
1 files changed, 8 insertions, 10 deletions
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 9a799d72c..6335344ce 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -105,25 +105,23 @@ config ADK_TARGET_USE_GNU_HASHSTYLE
dependencies. See http://www.akkadia.org/drepper/dsohowto.pdf
config ADK_DEBUG
- bool "Compile applications with debug support by default"
+ bool "Compile applications with debug support and do not strip"
default n
help
- All packages and libc will be compiled and packaged with debug information.
+ All software for the target will be compiled with:
+ -fno-omit-frame-pointer
+ -funwind-tables
+ -fasynchronous-unwind-tables
+ Software will not be stripped.
Mostly useful for NFS root or big USB/CF or hard disk setups.
-config ADK_DEBUG_OPTS
- bool "use optimization cflags"
- depends on ADK_DEBUG
- default n
- help
- All packages and C library will be compiled with debug information and optimization flags on.
-
config ADK_DEBUG_STRIP
bool "strip target binaries/libraries for gdbserver usage"
depends on ADK_DEBUG
default n
help
- All packages and C library will be compiled with debug information, but stripped for the target.
+ All packages and C library will be compiled with debug information,
+ but stripped for the target.
config ADK_TARGET_USE_STATIC_LIBS
bool "Link applications statically by default"