]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
- use BR2_INET_IPV6
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 26 Jun 2007 17:45:08 +0000 (17:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 26 Jun 2007 17:45:08 +0000 (17:45 -0000)
package/bind/bind.mk
package/iperf/iperf.mk
package/ipsec-tools/Config.in
package/ipsec-tools/ipsec-tools.mk
package/lsof/lsof.mk
package/python/python.mk
package/qtopia4/qtopia4.mk

index e1dc00a0322504ba879ed630b63d64595cef811f..9fdd809f6e567d5891ac7a82c836027eb5808102 100644 (file)
@@ -45,7 +45,7 @@ $(BIND_DIR2)/Makefile: $(BIND_DIR2)/.unpacked
                --localstatedir=/var \
                --without-openssl \
                --with-randomdev=/dev/random \
-               --enable-ipv6 \
+               $(DISABLE_IPV6) \
                --with-libtool \
                --with-pic \
        );
index 020ec76d45c0356a4e6a5a25caab34afcaa2da71..f7f143b2f1bd8fef3bc81adf957c62a693f4a00a 100644 (file)
@@ -29,7 +29,7 @@ $(IPERF_DIR)/.configured: $(IPERF_DIR)/.unpacked
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
-               --disable-ipv6 \
+               $(DISABLE_IPV6) \
                --disable-dependency-tracking \
                --disable-web100 \
                --prefix=/usr \
index e7a948905ef7be46511c4d851d275a33132008c5..f868c6bb0783da7f63e191413ed641b42a319715 100644 (file)
@@ -44,7 +44,7 @@ config BR2_PACKAGE_IPSEC_TOOLS_STATS
 
 config BR2_PACKAGE_IPSEC_TOOLS_IPV6
        default y
-       depends on BR2_PACKAGE_IPSEC_TOOLS
+       depends on BR2_PACKAGE_IPSEC_TOOLS && BR2_INET_IPV6
        bool "Enable IPv6 support"
        help
                This option has no effect if uClibc has been compiled without
index d6b9c7bbe1cb5b06ed2d71941632272b22ba3196..52e53f25acd712858a6deec6ddb3976de1341707 100644 (file)
@@ -42,18 +42,16 @@ else
 IPSEC_TOOLS_CONFIG_FLAGS+=     --disable-stats
 endif
 
-# At first check, if uClibc supports IPv6
-ifeq ($(shell grep -qs '__UCLIBC_HAS_IPV6__ 1' \
-       $(STAGING_DIR)/include/bits/uClibc_config.h && echo IPV6), IPV6)
+ifeq ($(BR2_INET_IPV6),y)
 
 ifeq ($(strip $(BR2_PACKAGE_IPSEC_TOOLS_IPV6)), y)
 IPSEC_TOOLS_CONFIG_FLAGS+=     --enable-ipv6
 else
-IPSEC_TOOLS_CONFIG_FLAGS+=     --disable-ipv6
+IPSEC_TOOLS_CONFIG_FLAGS+=     $(DISABLE_IPV6)
 endif
 
 else # ignore user's choice if it doesn't
-IPSEC_TOOLS_CONFIG_FLAGS+=     --disable-ipv6
+IPSEC_TOOLS_CONFIG_FLAGS+=     $(DISABLE_IPV6)
 endif
 
 ifneq ($(strip $(BR2_PACKAGE_IPSEC_TOOLS_READLINE)), y)
index 6a60f8bcb2a1ce1f213cc162a1e1f885cf7aec01..002a629187b33fcaedc2c680d542a69d6f4f1e8b 100644 (file)
@@ -15,7 +15,7 @@ BR2_LSOF_CFLAGS:=
 ifeq ($(BR2_LARGEFILE),)
 BR2_LSOF_CFLAGS+=-U_FILE_OFFSET_BITS
 endif
-ifeq ($(UCLIBC_HAS_IPV6),)
+ifeq ($(BR2_INET_IPV6),)
 BR2_LSOF_CFLAGS+=-UHASIPv6
 endif
 
index 01879cc0b9e2c11dd2267910c0000f3bcf764e48..17d6a145290c994c1d435c92df537d70332541fe 100644 (file)
@@ -11,12 +11,6 @@ PYTHON_CAT:=$(BZCAT)
 PYTHON_BINARY:=python
 PYTHON_TARGET_BINARY:=usr/bin/python
 
-#ifndef BR2_SUPPORT_IPv6
-#PYTHON_DISABLE_IPv6=--disable-ipv6
-#else
-#PYTHON_DISABLE_IPv6=--enable-ipv6
-#endif
-
 # these could use checks for some BR2_PACKAGE_foo,y
 BR2_PYTHON_DISABLED_MODULES=readline pyexpat dbm gdbm bsddb \
        _curses _curses_panel _tkinter nis zipfile
@@ -58,7 +52,7 @@ $(PYTHON_DIR)/.configured: $(PYTHON_DIR)/.hostpython
                --prefix=/usr \
                --sysconfdir=/etc \
                --with-cxx=no \
-               $(PYTHON_DISABLE_IPv6) \
+               $(DISABLE_IPV6) \
                $(DISABLE_NLS) \
        );
        touch $@
index e424e76c393d66547be321f5399a934bd41eb7b0..45ed5c8f2256dac418e8aa929b99d416f9b9204f 100644 (file)
@@ -112,8 +112,10 @@ $(QTOPIA4_TARGET_DIR)/.configured: $(QTOPIA4_TARGET_DIR)/.unpacked
        # Patching configure to get rid of some feature I dont want.
        # (I don't want SQL either but there is no option for that at all. 
        # the SQL library will be built even without the plugins/drivers.
+ifneq ($(BR2_INET_IPV6),y)
        $(SED) 's/^CFG_IPV6=auto/CFG_IPV6=no/' $(QTOPIA4_TARGET_DIR)/configure
        $(SED) 's/^CFG_IPV6IFNAME=auto/CFG_IPV6IFNAME=no/' $(QTOPIA4_TARGET_DIR)/configure
+endif
        $(SED) 's/^CFG_XINERAMA=auto/CFG_XINERAMA=no/' $(QTOPIA4_TARGET_DIR)/configure
        $(SED) 's/-O2/$(TARGET_CFLAGS)/' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
        -[ -f $(QTOPIA4_QCONFIG_FILE) ] && cp $(QTOPIA4_QCONFIG_FILE) \
@@ -198,8 +200,10 @@ $(QTOPIA4_HOST_DIR)/.configured: $(QTOPIA4_HOST_DIR)/.unpacked
        # Patching configure to get rid of some feature I dont want.
        # (I don't want SQL either but there is no option for that at all. 
        # the SQL library will be built even without the plugins/drivers.
+ifneq ($(BR2_INET_IPV6),y)
        $(SED) 's/^CFG_IPV6=auto/CFG_IPV6=no/' $(QTOPIA4_HOST_DIR)/configure
        $(SED) 's/^CFG_IPV6IFNAME=auto/CFG_IPV6IFNAME=no/' $(QTOPIA4_HOST_DIR)/configure
+endif
        $(SED) 's/^CFG_XINERAMA=auto/CFG_XINERAMA=no/' $(QTOPIA4_HOST_DIR)/configure
        $(SED) 's/-O2/$(TARGET_CFLAGS)/' $(QTOPIA4_HOST_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
        -[ -f $(QTOPIA4_QCONFIG_FILE) ] && cp $(QTOPIA4_QCONFIG_FILE) \