summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-09 21:57:03 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-09 21:57:03 +0000
commit91030a0471a52f3418f2c67f2df3354afada8206 (patch)
tree60a089969eb15a1254b23304860e29dbfb3b6ceb
parentdc91f6e5eca840e33bc1351ab87ced3c572e866e (diff)
[package] kernel: fix kmod-gre for Kernel >= 2.6.37 (#9009)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25985 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/netsupport.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 0988ba8235..29d5d151b5 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -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