summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-22 12:40:33 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-22 12:40:33 +0000
commiteb3a7eb2fcbedb7b831227d413270baf7641bbd2 (patch)
treebc8fec4e66f21078667967dc09f31bd3a2413fc1
parentf4d13c002a9a1343f8a3001c74de3a5ae9019e5c (diff)
Port kmod-gre to the new module layout
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4630 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/modules-2.6.mk4
-rw-r--r--package/kernel/modules.mk8
2 files changed, 8 insertions, 4 deletions
diff --git a/include/modules-2.6.mk b/include/modules-2.6.mk
index 4ea28fb16..70a1fcc23 100644
--- a/include/modules-2.6.mk
+++ b/include/modules-2.6.mk
@@ -15,10 +15,6 @@ $(eval $(call KMOD_template,ATM,atm,\
$(MODULES_DIR)/kernel/drivers/atm/atmtcp.ko \
,CONFIG_ATM,,50,atm))
-$(eval $(call KMOD_template,GRE,gre,\
- $(MODULES_DIR)/kernel/net/ipv4/ip_gre.ko \
-,CONFIG_NET_IPGRE))
-
$(eval $(call KMOD_template,IPIP,ipip,\
$(MODULES_DIR)/kernel/net/ipv4/ipip.ko \
,CONFIG_NET_IPIP,,60,ipip))
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
index 090945c3e..c24de60d0 100644
--- a/package/kernel/modules.mk
+++ b/package/kernel/modules.mk
@@ -289,6 +289,14 @@ FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
endef
$(eval $(call KernelPackage,ipv6))
+define KernelPackage/gre
+TITLE:=GRE support
+DESCRIPTION:=Generic Routing Encapsulation support
+KCONFIG=$(CONFIG_NET_IPGRE)
+FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
+endef
+$(eval $(call KernelPackage,gre))
+
define KernelPackage/ppp
TITLE:=PPP modules
DESCRIPTION:=Kernel modules for PPP support