mirror of https://github.com/hak5/openwrt-owl.git
parent
734b8cb217
commit
395bd8bf60
|
@ -370,12 +370,14 @@ $(eval $(call KernelPackage,ip6-tunnel))
|
||||||
define KernelPackage/gre
|
define KernelPackage/gre
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=GRE support
|
TITLE:=GRE support
|
||||||
KCONFIG:=CONFIG_NET_IPGRE \
|
KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),CONFIG_NET_IPGRE_DEMUX)
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
|
||||||
FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko \
|
FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),$(LINUX_DIR)/net/ipv4/gre.ko)
|
AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
|
||||||
AUTOLOAD:=$(call AutoLoad,39, \
|
else
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),gre) ip_gre)
|
FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,39,ip_gre)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/gre/description
|
define KernelPackage/gre/description
|
||||||
|
|
Loading…
Reference in New Issue