From 95073162473b4b7c7da92ebaa51c7704647f1e2c Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 20 Aug 2006 17:27:24 +0000 Subject: port kmod-ipv6 to the new system git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4615 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/modules-2.4.mk | 4 ---- include/modules-2.6.mk | 4 ---- package/kernel/modules.mk | 7 +++++++ target/linux/Config.in | 7 ------- 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 -- cgit v1.2.3