Port kmod-gre to the new module layout
authorFlorian Fainelli <florian@openwrt.org>
Tue, 22 Aug 2006 12:40:33 +0000 (12:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 22 Aug 2006 12:40:33 +0000 (12:40 +0000)
SVN-Revision: 4630

openwrt/include/modules-2.6.mk
openwrt/package/kernel/modules.mk

index 4ea28fb1679e10aab739035c7dc7c7f1826f4567..70a1fcc23c35b67d6cfd464012f945885d8eb384 100644 (file)
@@ -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))
index 090945c3e06311f016bafaa2245c0c44b36ab280..c24de60d0def8d02727836149637a4ddc58fb10e 100644 (file)
@@ -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