diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-17 15:28:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-17 15:28:02 +0000 |
commit | 8ff9b93dfa4f658866cf53947438980b972c2700 (patch) | |
tree | fd15d6dcd724a2f495ff527e2f6694f3018b9841 /package/kernel/modules/netsupport.mk | |
parent | c30405070c1f6a253b5f0403b6d68cb4b1f00455 (diff) | |
download | upstream-8ff9b93dfa4f658866cf53947438980b972c2700.tar.gz upstream-8ff9b93dfa4f658866cf53947438980b972c2700.tar.bz2 upstream-8ff9b93dfa4f658866cf53947438980b972c2700.zip |
kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
Diffstat (limited to 'package/kernel/modules/netsupport.mk')
-rw-r--r-- | package/kernel/modules/netsupport.mk | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 23204b47e9..f122b68d31 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 |