From c2e2ba3cdf9244971ceab860a7ea69c9a105a022 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 23 Mar 2005 01:25:30 +0000 Subject: [PATCH] Add new kmod-pppoe package, add ppp_async.o to kmod-ppp SVN-Revision: 418 --- openwrt/package/linux/Config.in | 7 +++++++ openwrt/package/linux/Makefile | 5 +++++ openwrt/package/linux/control/kmod-pppoe.control | 8 ++++++++ 3 files changed, 20 insertions(+) create mode 100644 openwrt/package/linux/control/kmod-pppoe.control diff --git a/openwrt/package/linux/Config.in b/openwrt/package/linux/Config.in index 1275b216c2..6caf8f4959 100644 --- a/openwrt/package/linux/Config.in +++ b/openwrt/package/linux/Config.in @@ -83,6 +83,13 @@ config BR2_PACKAGE_KMOD_MPPE help Support for Microsoft PPP Encryption/Compression +config BR2_PACKAGE_KMOD_PPPOE + tristate "PPPoE modules" + default m + depends BR2_PACKAGE_KMOD_PPP + help + Support for PPP over Ethernet + config BR2_PACKAGE_KMOD_TUN tristate "Universal TUN/TAP driver" default m diff --git a/openwrt/package/linux/Makefile b/openwrt/package/linux/Makefile index 73f82148f7..f872ab088e 100644 --- a/openwrt/package/linux/Makefile +++ b/openwrt/package/linux/Makefile @@ -80,12 +80,17 @@ $(eval $(call KMOD_template,CRYPTO,crypto,\ $(MODULES_DIR)/kernel/crypto/*.o \ )) $(eval $(call KMOD_template,PPP,ppp,\ + $(MODULES_DIR)/kernel/drivers/net/ppp_async.o \ $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o \ $(MODULES_DIR)/kernel/drivers/net/slhc.o \ ,CONFIG_PPP)) $(eval $(call KMOD_template,MPPE,mppe,\ $(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.o \ ,CONFIG_PPP_MPPE_MPPC)) +$(eval $(call KMOD_template,PPPOE,pppoe,\ + $(MODULES_DIR)/kernel/drivers/net/pppoe.o \ + $(MODULES_DIR)/kernel/drivers/net/pppox.o \ +,CONFIG_PPPOE)) $(eval $(call KMOD_template,TUN,tun,\ $(MODULES_DIR)/kernel/drivers/net/tun.o \ ,CONFIG_TUN)) diff --git a/openwrt/package/linux/control/kmod-pppoe.control b/openwrt/package/linux/control/kmod-pppoe.control new file mode 100644 index 0000000000..7271cd76af --- /dev/null +++ b/openwrt/package/linux/control/kmod-pppoe.control @@ -0,0 +1,8 @@ +Package: kmod-pppoe +Priority: optional +Section: net +Version: 2.4.29-1 +Architecture: mipsel +Maintainer: Felix Fietkau +Source: buildroot internal +Description: PPP over Ethernet support