summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-02-10 23:04:35 (GMT)
committerGitHub <noreply@github.com>2018-02-10 23:04:35 (GMT)
commit9e8a2b295d770a417e50f733b15e428dede3aea6 (patch)
tree7686fc3eebf14b3a65348b0644f198964face481 /scripts/build
parenta3e1adbe71d6c8478dd4cd00eaea8fa594bdd9b1 (diff)
parenta20c29dcefe8c3319ae7163935a2d89ac2e1de32 (diff)
Merge pull request #910 from stilor/uclibc-no-rpc
uClibc-ng: configurability enhancements
Diffstat (limited to 'scripts/build')
-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