summaryrefslogtreecommitdiff
path: root/package/kernel/modules/netsupport.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
commit8ff9b93dfa4f658866cf53947438980b972c2700 (patch)
treefd15d6dcd724a2f495ff527e2f6694f3018b9841 /package/kernel/modules/netsupport.mk
parentc30405070c1f6a253b5f0403b6d68cb4b1f00455 (diff)
downloadmtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.zip
mtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.tar.gz
mtk-20170518-8ff9b93dfa4f658866cf53947438980b972c2700.tar.bz2
kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
Diffstat (limited to 'package/kernel/modules/netsupport.mk')
-rw-r--r--package/kernel/modules/netsupport.mk16
1 files changed, 3 insertions, 13 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 23204b4..f122b68 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -438,13 +438,8 @@ define KernelPackage/gre
TITLE:=GRE support
DEPENDS:=+PACKAGE_kmod-ipv6:kmod-ipv6
KCONFIG:=CONFIG_NET_IPGRE CONFIG_NET_IPGRE_DEMUX
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.37)),1)
FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko $(LINUX_DIR)/net/ipv4/gre.ko
AUTOLOAD:=$(call AutoLoad,39,gre ip_gre)
- else
- FILES:=$(LINUX_DIR)/net/ipv4/ip_gre.ko
- AUTOLOAD:=$(call AutoLoad,39,ip_gre)
- endif
endef
define KernelPackage/gre/description
@@ -572,20 +567,15 @@ define KernelPackage/pptp
endef
$(eval $(call KernelPackage,pptp))
-
+
define KernelPackage/pppol2tp
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPPoL2TP support
DEPENDS:=kmod-ppp +kmod-pppoe +kmod-l2tp
KCONFIG:=CONFIG_PPPOL2TP
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
- FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
- AUTOLOAD:=$(call AutoLoad,40,l2tp_ppp)
- else
- FILES:=$(LINUX_DIR)/drivers/net/pppol2tp.ko
- AUTOLOAD:=$(call AutoLoad,40,pppol2tp)
- endif
+ FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko
+ AUTOLOAD:=$(call AutoLoad,40,l2tp_ppp)
endef
define KernelPackage/pppol2tp/description