summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-05-13 23:03:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-05-13 23:03:56 +0200
commita7bb1e09a509396b882458a95008b60b8c0e0f2b (patch)
treefba4b571a9029ed21ce473bbaf838db949c6949c /target/config
parent71242d66a32a9e3e552c9cee6d6f6e703ff0797b (diff)
add Og support
Diffstat (limited to 'target/config')
-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)"