summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/Config-kernel.in23
-rw-r--r--package/kernel/linux/modules/netsupport.mk22
2 files changed, 23 insertions, 22 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 4be5f53..6e79bae 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -551,3 +551,26 @@ config KERNEL_SECCOMP
default n
help
Build kernel with support for seccomp.
+
+#
+# IPv6 configuration
+#
+
+config KERNEL_IPV6
+ def_bool IPV6
+
+if KERNEL_IPV6
+
+ config KERNEL_IPV6_MULTIPLE_TABLES
+ def_bool y
+
+ config KERNEL_IPV6_SUBTREES
+ def_bool y
+
+ config KERNEL_IPV6_MROUTE
+ def_bool y
+
+ config KERNEL_IPV6_PIMSM_V2
+ def_bool n
+
+endif
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 2fa87b9..e3fa9d7 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -454,28 +454,6 @@ endef
$(eval $(call KernelPackage,iptunnel6))
-define KernelPackage/ipv6
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=IPv6 support
- DEPENDS:=@IPV6
- HIDDEN:=1
- DEFAULT:=y
- KCONFIG:= \
- CONFIG_IPV6=y \
- CONFIG_IPV6_PRIVACY=y \
- CONFIG_IPV6_MULTIPLE_TABLES=y \
- CONFIG_IPV6_MROUTE=y \
- CONFIG_IPV6_PIMSM_V2=n \
- CONFIG_IPV6_SUBTREES=y
-endef
-
-define KernelPackage/ipv6/description
- Kernel modules for IPv6 support
-endef
-
-$(eval $(call KernelPackage,ipv6))
-
-
define KernelPackage/sit
SUBMENU:=$(NETWORK_SUPPORT_MENU)
DEPENDS:=@IPV6 +kmod-iptunnel +kmod-iptunnel4