kernel: fix usage of CompareKernelPatchVer for kmod-gre
SVN-Revision: 26010
This commit is contained in:
parent
cefba2ca2f
commit
cce1002869
1 changed files with 3 additions and 3 deletions
|
@ -371,11 +371,11 @@ 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 \
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),CONFIG_NET_IPGRE_DEMUX)
|
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),CONFIG_NET_IPGRE_DEMUX)
|
||||||
FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko \
|
FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko \
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),$(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, \
|
AUTOLOAD:=$(call AutoLoad,39, \
|
||||||
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),gre) ip_gre)
|
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),gre) ip_gre)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/gre/description
|
define KernelPackage/gre/description
|
||||||
|
|
Loading…
Reference in a new issue