diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-07-30 15:27:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-07-30 15:27:51 +0000 |
commit | 5c36607da64a0e2e3906fa926f36d9514e92c0e8 (patch) | |
tree | f25d0055a9187e8ff80b865712c3d09d1d3a2064 /package/kernel/modules.mk | |
parent | 87031562ae11eeac354d4ba7e984ab727fda83e6 (diff) | |
download | upstream-5c36607da64a0e2e3906fa926f36d9514e92c0e8.tar.gz upstream-5c36607da64a0e2e3906fa926f36d9514e92c0e8.tar.bz2 upstream-5c36607da64a0e2e3906fa926f36d9514e92c0e8.zip |
port ppp modules to package/kernel and fix ppp package dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4329 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules.mk')
-rw-r--r-- | package/kernel/modules.mk | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk index 48741eeb36..51af5d8b61 100644 --- a/package/kernel/modules.mk +++ b/package/kernel/modules.mk @@ -223,3 +223,47 @@ endef $(eval $(call KernelPackage,ebtables)) +define KernelPackage/ppp +TITLE:=PPP modules +DESCRIPTION:=Kernel modules for PPP support +KCONFIG:=$(CONFIG_PPP) +endef + +define KernelPackage/ppp/2.6 +FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.ko $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko $(MODULES_DIR)/kernel/drivers/net/slhc.ko $(MODULES_DIR)/kernel/lib/crc-ccitt.ko +AUTOLOAD:=$(call AutoLoad,30,crc-ccitt) +endef + +define KernelPackage/ppp/2.4 +FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.o $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o $(MODULES_DIR)/kernel/drivers/net/slhc.o +endef +$(eval $(call KernelPackage,ppp)) + +define KernelPackage/pppoe +TITLE:=PPPoE modules +DESCRIPTION:=Kernel modules for PPP over Ethernet support +DEPENDS:=kmod-ppp +KCONFIG:=$(CONFIG_PPPOE) +FILES:=$(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,pppoe)) + +define KernelPackage/pppoa +TITLE:=PPPoA modules +DESCRIPTION:=Kernel modules for PPP over ATM support +DEPENDS:=kmod-ppp +KCONFIG:=$(CONFIG_PPPOATM) +FILES:=$(MODULES_DIR)/kernel/drivers/net/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) +FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX) +endef +$(eval $(call KernelPackage,mppe)) + + |