summaryrefslogtreecommitdiff
path: root/scripts/build/libc/uClibc.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-23 06:18:08 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-23 06:18:08 (GMT)
commit8478376a86c6555f4df2f130f9d8bd935ec211e5 (patch)
tree9e7fff1ab45fadfe9b8917c928f594e1f92b3c19 /scripts/build/libc/uClibc.sh
parent49cdcd16f24ee387e5816812c7b6612f58e1d465 (diff)
uClibc: Add kconfig option to enable IPv6 support
This commit adds a kconfig option to enable IPv6 support. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
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 1868a79..f5b871c 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -427,6 +427,13 @@ manage_uClibc_config() {
CT_KconfigDisableOption "UCLIBC_HAS_WCHAR" "${dst}"
fi
+ # IPv6 support
+ if [ "${CT_LIBC_UCLIBC_IPV6}" = "y" ]; then
+ CT_KconfigEnableOption "UCLIBC_HAS_IPV6" "${dst}"
+ else
+ CT_KconfigDisableOption "UCLIBC_HAS_IPV6" "${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