diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-09 22:20:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-03-09 22:20:16 +0000 |
commit | 3f3b03ce7f9f62534d12285e44293731f0e36fed (patch) | |
tree | 654e13417b34779e408312b66c0a8040ee0e2b01 /package/kernel | |
parent | db57b5e7a767eedc5b50742ed4837026b94e95f3 (diff) | |
download | upstream-3f3b03ce7f9f62534d12285e44293731f0e36fed.tar.gz upstream-3f3b03ce7f9f62534d12285e44293731f0e36fed.tar.bz2 upstream-3f3b03ce7f9f62534d12285e44293731f0e36fed.zip |
[package] kernel: package kmod-pptp, autoload kmod-gre
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25987 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/netsupport.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 29d5d151b5..8379931f1a 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -374,6 +374,8 @@ define KernelPackage/gre $(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 @@ -469,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 |