summaryrefslogtreecommitdiff
path: root/target/config/Config.in.toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-15 21:40:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-15 21:40:58 +0200
commit88dc317d5510827a551697805c5d167d3ecb0975 (patch)
tree844617488fd1dc07aaccac5f680cb73a66622939 /target/config/Config.in.toolchain
parentdff2d49e4342587e3d4c2f578eacfdc0e4089cca (diff)
parent0a1c8865d1e019c19639108b2ae1cf53eb863f31 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/config/Config.in.toolchain')
-rw-r--r--target/config/Config.in.toolchain6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 557b12708..2197a89e5 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -4,6 +4,7 @@
config ADK_TARGET_CFLAGS_OPT
string
default "-Os -pipe" if ADK_TARGET_CFLAGS_OPT_OS
+ default "-Og -pipe" if ADK_TARGET_CFLAGS_OPT_OG
default "-O2 -pipe" if ADK_TARGET_CFLAGS_OPT_O2
default "-O3 -pipe" if ADK_TARGET_CFLAGS_OPT_O3
default "-O0 -pipe" if ADK_TARGET_CFLAGS_OPT_O0
@@ -15,11 +16,14 @@ bool
config ADK_TARGET_CFLAGS_OPT_OS
prompt "optimize for size (-Os)"
+config ADK_TARGET_CFLAGS_OPT_OG
+ prompt "optimize, but allow debugging (-Og)"
+
config ADK_TARGET_CFLAGS_OPT_O2
prompt "optimize for performance (-O2)"
config ADK_TARGET_CFLAGS_OPT_O3
- prompt "optimize for performance (-O3)"
+ prompt "optimize for extra performance (-O3)"
config ADK_TARGET_CFLAGS_OPT_O0
prompt "no optimization (-O0)"