summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-04-11 23:37:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-12 20:06:21 +0200
commit9b88e974d36bfb507623cbf5c8ef12d67d378240 (patch)
treea9021c0b63c7d140b7309a7bfa62c7abfbd8b26a
parent21ed9fa0c18c76a05136fb4b9964616b4fea7728 (diff)
add back in the good old "enable IPv6" option
We do Linux, so we do IPv6. Internet for everyone.
-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"