Sfoglia il codice sorgente

add back in the good old "enable IPv6" option

We do Linux, so we do IPv6. Internet for everyone.
Phil Sutter 16 anni fa
parent
commit
9b88e974d3
2 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 4 0
      mk/package.mk
  2. 9 0
      package/Config.in

+ 4 - 0
mk/package.mk

@@ -43,6 +43,10 @@ else
 CONFIGURE_ARGS+=	--disable-debug
 endif
 
+ifeq ($(ADK_ENABLE_IPV6),y)
+CONFIGURE_ARGS+=	--enable-ipv6
+endif
+
 CONFIGURE_ENV+=		CONFIG_SHELL='$(strip ${SHELL})' \
 			CFLAGS='$(strip ${TCFLAGS})' \
 			CXXFLAGS='$(strip ${TCXXFLAGS})' \

+ 9 - 0
package/Config.in

@@ -3,6 +3,15 @@
 
 menu "Package selection"
 
+config ADK_ENABLE_IPV6
+	prompt "enable IPv6 globally"
+	boolean
+	default y
+	help
+	  This enables IPv6 support in all related applications. Basically this
+	  just means passing --enable-ipv6 to the configure script, but the
+	  exception proves the rule. ;)
+
 menu "Basesystem"
 source "package/adkinstall/Config.in"
 source "package/base-files/Config.in"