summaryrefslogtreecommitdiff
path: root/openwrt/package/linux
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/linux')
-rw-r--r--openwrt/package/linux/Config.in7
-rw-r--r--openwrt/package/linux/Makefile5
-rw-r--r--openwrt/package/linux/control/kmod-pppoe.control8
3 files changed, 20 insertions, 0 deletions
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 <nbd@vd-s.ath.cx>
+Source: buildroot internal
+Description: PPP over Ethernet support