From 83b904f4a95179e5c0bec76da2d22e71675aeaf8 Mon Sep 17 00:00:00 2001 From: Gerry Rozema Date: Mon, 14 Aug 2006 07:40:12 +0000 Subject: [PATCH] Fix up kmod-mppe for 2.6 kernels too SVN-Revision: 4566 --- openwrt/package/kernel/modules.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/openwrt/package/kernel/modules.mk b/openwrt/package/kernel/modules.mk index c3514ade15..2f8be0d1ac 100644 --- a/openwrt/package/kernel/modules.mk +++ b/openwrt/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))