summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/package.mk4
-rw-r--r--package/Config.in9
2 files changed, 13 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk
index 6c58d4d4e..b4b02d8a5 100644
--- a/mk/package.mk
+++ b/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})' \
diff --git a/package/Config.in b/package/Config.in
index e5ffd2e07..a48b5b444 100644
--- a/package/Config.in
+++ b/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"