From f0e189dcaf150035687e866ca195300d2719642a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 27 Nov 2010 21:50:49 +0100 Subject: toolchain/crosstool-NG: use IPv6 option Push the IPv6 option down to uClibc config Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk index 97224a1d9..92ed93272 100644 --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk @@ -245,6 +245,13 @@ else CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_LFS)=.*:\# \1 is not set:; endif +# Handle the IPv6 option +ifneq ($(call qstrip,$(BR2_INET_IPV6)),) +CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_IPV6) is not set:\1=y:; +else +CTNG_FIX_DOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_IPV6)=.*:\# \1 is not set:; +endif + # Instruct CT-NG's .config where to find the uClibc's .config CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":; -- cgit v1.2.3