kernel: fix kmod-gre for Kernel >= 2.6.37 (#9009)

SVN-Revision: 25985
This commit is contained in:
Jo-Philipp Wich 2011-03-09 21:57:03 +00:00
parent 3e08b75693
commit eb5ed5087b

View File

@ -370,8 +370,10 @@ $(eval $(call KernelPackage,ip6-tunnel))
define KernelPackage/gre
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=GRE support
KCONFIG:=CONFIG_NET_IPGRE
FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko
KCONFIG:=CONFIG_NET_IPGRE \
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),CONFIG_NET_IPGRE_DEMUX)
FILES=$(LINUX_DIR)/net/ipv4/ip_gre.ko \
$(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),$(LINUX_DIR)/net/ipv4/gre.ko)
endef
define KernelPackage/gre/description