summaryrefslogtreecommitdiff
path: root/target/config/Config.in.toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-01 12:53:29 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-01 12:54:22 -0500
commit360767f2ef426c9249131831286df32bd4bb666d (patch)
treec31c38c9cd1061330e5ac35728ac52196390cce0 /target/config/Config.in.toolchain
parent47cad0a0e2381678971c827e495fd46ba0037bf2 (diff)
first step to rework iconv setup
Add a choice to select libiconv, C library iconv or libiconv-tiny.
Diffstat (limited to 'target/config/Config.in.toolchain')
-rw-r--r--target/config/Config.in.toolchain18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 2197a89e5..45a7e5e1e 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -1,6 +1,24 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
+choice
+prompt "Iconv implementation"
+bool
+
+config ADK_TARGET_LIBC_ICONV
+ prompt "Use iconv from C library"
+
+config ADK_TARGET_LIBICONV
+ prompt "Use libiconv package"
+ select ADK_PACKAGE_LIBICONV
+
+config ADK_TARGET_LIBICONV_TINY
+ prompt "Use tiny libionv package"
+ select ADK_PACKAGE_LIBICONV_TINY
+
+endchoice
+
+
config ADK_TARGET_CFLAGS_OPT
string
default "-Os -pipe" if ADK_TARGET_CFLAGS_OPT_OS