summaryrefslogtreecommitdiff
path: root/scripts/build/libc/uClibc.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-10 22:35:50 (GMT)
committerAlexey Neyman <stilor@att.net>2018-02-10 22:51:45 (GMT)
commita20c29dcefe8c3319ae7163935a2d89ac2e1de32 (patch)
tree7686fc3eebf14b3a65348b0644f198964face481 /scripts/build/libc/uClibc.sh
parent89fdeb9af2677169bea5bde8a2ce4d2411b35697 (diff)
Make libiconv an option in the menu config
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc/uClibc.sh')
-rw-r--r--scripts/build/libc/uClibc.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index 599283e..eb6cf5b 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -314,6 +314,13 @@ manage_uClibc_config() {
CT_KconfigDisableOption "UCLIBC_HAS_IPV6" "${dst}"
fi
+ # Iconv support
+ if [ "${CT_LIBC_UCLIBC_LIBICONV}" = "y" ]; then
+ CT_KconfigEnableOption "UCLIBC_HAS_LIBICONV" "${dst}"
+ else
+ CT_KconfigDisableOption "UCLIBC_HAS_LIBICONV" "${dst}"
+ fi
+
# Force on options needed for C++ if we'll be making a C++ compiler.
# I'm not sure locales are a requirement for doing C++... Are they?
if [ "${CT_CC_LANG_CXX}" = "y" ]; then