diff options
author | Travis Kemen <thepeople@openwrt.org> | 2009-01-18 00:18:06 +0000 |
---|---|---|
committer | Travis Kemen <thepeople@openwrt.org> | 2009-01-18 00:18:06 +0000 |
commit | c7eb38ef4e3fdc11be4f12462312b1e5ee268507 (patch) | |
tree | f5eeb8aab449ff637f700fae44608e905effa2bb | |
parent | 96756d7641f1801a47d4107c3b275ac754484197 (diff) | |
download | upstream-c7eb38ef4e3fdc11be4f12462312b1e5ee268507.tar.gz upstream-c7eb38ef4e3fdc11be4f12462312b1e5ee268507.tar.bz2 upstream-c7eb38ef4e3fdc11be4f12462312b1e5ee268507.zip |
fix compile of iptunnel4 for the 2.4 kernel
SVN-Revision: 14081
-rw-r--r-- | package/kernel/modules/netsupport.mk | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 70e239c412..d207003f8b 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -216,19 +216,22 @@ endef $(eval $(call KernelPackage,ipsec6)) - -# NOTE: tunnel4 is not selectable by itself, so enable ipip for that define KernelPackage/iptunnel4 - SUBMENU:=$(NETWORK_SUPPORT_MENU) - TITLE:=IPv4 tunneling - DEPENDS:= @LINUX_2_6 - KCONFIG:= \ - CONFIG_NET_IPIP \ - CONFIG_INET_TUNNEL - FILES:= $(foreach mod,tunnel4, \ - $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \ - ) - AUTOLOAD:=$(call AutoLoad,31,tunnel4) + TITLE:=IP in IP encapsulation support + KCONFIG:=$(CONFIG_NET_IPIP) + SUBMENU:=$(NSMENU) +endef + +define KernelPackage/iptunnel4/2.4 + FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,ipip) +endef + +define KernelPackage/iptunnel4/2.6 + FILES:= \ + $(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4) endef define KernelPackage/iptunnel4/description @@ -237,7 +240,6 @@ endef $(eval $(call KernelPackage,iptunnel4)) - define KernelPackage/iptunnel6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 tunneling |