Explorar el Código

add back in the good old "enable IPv6" option

We do Linux, so we do IPv6. Internet for everyone.
Phil Sutter hace 15 años
padre
commit
9b88e974d3
Se han modificado 2 ficheros con 13 adiciones y 0 borrados
  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"