aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGerry Rozema <gerryr@rozeware.com>2006-08-14 07:40:12 +0000
committerGerry Rozema <gerryr@rozeware.com>2006-08-14 07:40:12 +0000
commitdeb9d8f20f678d6ed02e4bff0ffc486a229700d5 (patch)
treecf4cee0225f3b0c7a6a6de5731ea0c7fdd8f8dc9 /package/kernel
parent43b6cd4719ea08647d7d4e72f49a72bb376291ac (diff)
downloadupstream-deb9d8f20f678d6ed02e4bff0ffc486a229700d5.tar.gz
upstream-deb9d8f20f678d6ed02e4bff0ffc486a229700d5.tar.bz2
upstream-deb9d8f20f678d6ed02e4bff0ffc486a229700d5.zip
Fix up kmod-mppe for 2.6 kernels too
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4566 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk
index c3514ade15..2f8be0d1ac 100644
--- a/package/kernel/modules.mk
+++ b/package/kernel/modules.mk
@@ -316,13 +316,21 @@ FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
endef
$(eval $(call KernelPackage,pppoa))
+
define KernelPackage/mppe
TITLE:=Microsoft PPP compression/encryption
DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
-DEPENDS:=@LINUX_2_4 kmod-ppp
-KCONFIG:=$(CONFIG_PPPOE)
+DEPENDS:=kmod-ppp
+KCONFIG:=$(CONFIG_PPP_MPPE)
+endef
+
+define KernelPackage/mppe/2.4
FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
endef
+
+define KernelPackage/mppe/2.6
+FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
+endef
$(eval $(call KernelPackage,mppe))