summaryrefslogtreecommitdiff
path: root/target/config/Config.in.adk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-13 17:18:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-13 17:18:15 +0200
commit64d6047788b6201a9b026a6841dd25f8d0a0d00b (patch)
tree95aafc346b70447f7dd2829f83f59d8df15d4d58 /target/config/Config.in.adk
parentd5aed1c97f81f422af91c1bd4d7994dc54beabe1 (diff)
parent7297ef1c47935fb17e49cac8379908e631763566 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/config/Config.in.adk')
-rw-r--r--target/config/Config.in.adk14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index 27b72941e..7487ac056 100644
--- a/target/config/Config.in.adk
+++ b/target/config/Config.in.adk
@@ -19,6 +19,13 @@ config ADK_DL_DIR
Configure the download directory for all source packages.
Use an absolute path.
+config ADK_TARGET_CFLAGS_OPT
+ string "optimization flags for compiler"
+ default "-Os -pipe"
+ help
+ Compilation is only verfied with optimization for code size (Os).
+ Other stuff (O2) might break. Will not be used when ADK_DEBUG is on.
+
config ADK_DEBUG
bool "Compile applications with debug support by default"
default n
@@ -26,6 +33,13 @@ config ADK_DEBUG
All packages and libc will be compiled and packaged with debug information.
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 libc 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