summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/modules-2.4.mk4
-rw-r--r--include/modules-2.6.mk4
-rw-r--r--package/kernel/modules.mk7
-rw-r--r--target/linux/Config.in7
4 files changed, 7 insertions, 15 deletions
diff --git a/include/modules-2.4.mk b/include/modules-2.4.mk
index b00b61c83..7ef332363 100644
--- a/include/modules-2.4.mk
+++ b/include/modules-2.4.mk
@@ -21,10 +21,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.o \
,CONFIG_NET_IPIP,,60,ipip))
-$(eval $(call KMOD_template,IPV6,ipv6,\
- $(MODULES_DIR)/kernel/net/ipv6/ipv6.o \
-,CONFIG_IPV6,,20,ipv6))
-
$(eval $(call KMOD_template,SCHED,sched,\
$(MODULES_DIR)/kernel/net/sched/*.o \
))
diff --git a/include/modules-2.6.mk b/include/modules-2.6.mk
index a0ff900aa..4ea28fb16 100644
--- a/include/modules-2.6.mk
+++ b/include/modules-2.6.mk
@@ -23,10 +23,6 @@ $(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
,CONFIG_NET_IPIP,,60,ipip))
-$(eval $(call KMOD_template,IPV6,ipv6,\
- $(MODULES_DIR)/kernel/net/ipv6/ipv6.ko \
-,CONFIG_IPV6,,20,ipv6))
-
$(eval $(call KMOD_template,SCHED,sched,\
$(MODULES_DIR)/kernel/net/sched/*.ko \
,CONFIG_NET_SCHED))
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
index 51b7d8ace..090945c3e 100644
--- a/package/kernel/modules.mk
+++ b/package/kernel/modules.mk
@@ -281,6 +281,13 @@ KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
endef
$(eval $(call KernelPackage,ebtables))
+define KernelPackage/ipv6
+TITLE:=IPv6 support
+DESCRIPTION:=Kernel modules for IPv6 support
+KCONFIG:=$(CONFIG_IPV6)
+FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,ipv6))
define KernelPackage/ppp
TITLE:=PPP modules
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 7589ea7b6..f9c72c01a 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -30,13 +30,6 @@ config PACKAGE_KMOD_IPIP
help
Kernel module for IP in IP encapsulation
-config PACKAGE_KMOD_IPV6
- prompt "kmod-ipv6......................... IPv6 support"
- tristate
- default m
- help
- Kernel modules for IPv6 protocol support
-
config PACKAGE_KMOD_RING
prompt "kmod-ring......................... PF Ring"
tristate