From a7bb1e09a509396b882458a95008b60b8c0e0f2b Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Wed, 13 May 2015 23:03:56 +0200
Subject: add Og support

---
 target/config/Config.in.toolchain | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'target/config')

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)"
-- 
cgit v1.2.3