From 8478376a86c6555f4df2f130f9d8bd935ec211e5 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 22 Nov 2015 22:18:08 -0800 Subject: uClibc: Add kconfig option to enable IPv6 support This commit adds a kconfig option to enable IPv6 support. Signed-off-by: Bryan Hundven --- scripts/build/libc/uClibc.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 1868a790..f5b871c1 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 -- cgit v1.2.3