X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/32dee30938381a972ffd0a509ba3cb3e07ed3894..d1277351cfd86bff8a62a67d45d650407816ce0e:/package/kernel/modules/netsupport.mk diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 0988ba823..8379931f1 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -370,8 +370,12 @@ $(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) + AUTOLOAD:=$(call AutoLoad,39, \ + $(if $(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,2.6.37)),gre) ip_gre) endef define KernelPackage/gre/description @@ -467,6 +471,19 @@ endef $(eval $(call KernelPackage,pppoa)) + +define KernelPackage/pptp + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=PPtP support + DEPENDS:=kmod-ppp +kmod-gre @LINUX_2_6_37||LINUX_2_6_38 + KCONFIG:=CONFIG_PPTP + FILES:=$(LINUX_DIR)/drivers/net/pptp.ko + AUTOLOAD:=$(call AutoLoad,41,pptp) +endef + +$(eval $(call KernelPackage,pptp)) + + define KernelPackage/pppol2tp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPPoL2TP support