summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-24 10:14:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-24 10:14:40 +0100
commit7a77142069c7008c6294436a7d704ad8229aa48c (patch)
tree080f9c46ad2da45e99249de5e2ba4f43bbc3ce2e /target/config
parente27ccf2bc39bc5bd22af970dde175c02e7d422d2 (diff)
parent9e2fdf23756dc13ce89f0ca185a6223c02d3f14a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.adk7
-rw-r--r--target/config/Config.in.runtime1
2 files changed, 8 insertions, 0 deletions
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index 27b72941e..0c598e50c 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
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 7acdd26ed..a6f504a49 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -39,6 +39,7 @@ config ADK_RUNTIME_TIMEZONE
choice
prompt "Start getty or shell after bootup"
default ADK_RUNTIME_GETTY
+default ADK_RUNTIME_SHELL if ADK_PKG_TEST
config ADK_RUNTIME_GETTY
boolean "start a getty after bootup"