mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
fix compile of iptunnel4 for the 2.4 kernel
SVN-Revision: 14081
This commit is contained in:
parent
96756d7641
commit
c7eb38ef4e
@ -216,19 +216,22 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,ipsec6))
|
$(eval $(call KernelPackage,ipsec6))
|
||||||
|
|
||||||
|
|
||||||
# NOTE: tunnel4 is not selectable by itself, so enable ipip for that
|
|
||||||
define KernelPackage/iptunnel4
|
define KernelPackage/iptunnel4
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
TITLE:=IP in IP encapsulation support
|
||||||
TITLE:=IPv4 tunneling
|
KCONFIG:=$(CONFIG_NET_IPIP)
|
||||||
DEPENDS:= @LINUX_2_6
|
SUBMENU:=$(NSMENU)
|
||||||
KCONFIG:= \
|
endef
|
||||||
CONFIG_NET_IPIP \
|
|
||||||
CONFIG_INET_TUNNEL
|
define KernelPackage/iptunnel4/2.4
|
||||||
FILES:= $(foreach mod,tunnel4, \
|
FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
|
||||||
$(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
|
AUTOLOAD:=$(call AutoLoad,30,ipip)
|
||||||
)
|
endef
|
||||||
AUTOLOAD:=$(call AutoLoad,31,tunnel4)
|
|
||||||
|
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
|
endef
|
||||||
|
|
||||||
define KernelPackage/iptunnel4/description
|
define KernelPackage/iptunnel4/description
|
||||||
@ -237,7 +240,6 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,iptunnel4))
|
$(eval $(call KernelPackage,iptunnel4))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/iptunnel6
|
define KernelPackage/iptunnel6
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=IPv6 tunneling
|
TITLE:=IPv6 tunneling
|
||||||
|
Loading…
x
Reference in New Issue
Block a user