aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-18 23:26:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-18 23:26:36 +0000
commit8a5df4ff676e8b1171e2ee93e9e91854d38242ec (patch)
tree26666d894678f201e99ff84ed9454a4643e235b9
parentf7802d7314c94dd4b3c399a150dcc4be87c01329 (diff)
downloadupstream-8a5df4ff676e8b1171e2ee93e9e91854d38242ec.tar.gz
upstream-8a5df4ff676e8b1171e2ee93e9e91854d38242ec.tar.bz2
upstream-8a5df4ff676e8b1171e2ee93e9e91854d38242ec.zip
[package] kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32433 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/netsupport.mk28
1 files changed, 21 insertions, 7 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 81c21245c2..4f7c053a26 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -497,19 +497,33 @@ endef
$(eval $(call KernelPackage,ppp-synctty))
+define KernelPackage/pppox
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=PPPoX helper
+ DEPENDS:=kmod-ppp
+ KCONFIG:=CONFIG_PPPOE
+ FILES:=$(LINUX_DIR)/drivers/net/ppp/pppox.ko
+ AUTOLOAD:=$(call AutoLoad,40,pppox)
+endef
+
+define KernelPackage/pppox/description
+ Kernel helper module for PPPoE and PPTP support
+endef
+
+$(eval $(call KernelPackage,pppox))
+
+
define KernelPackage/pppoe
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPPoE support
- DEPENDS:=kmod-ppp
+ DEPENDS:=kmod-ppp +kmod-pppox
KCONFIG:=CONFIG_PPPOE
- FILES:= \
- $(LINUX_DIR)/drivers/net/ppp/pppoe.ko \
- $(LINUX_DIR)/drivers/net/ppp/pppox.ko
- AUTOLOAD:=$(call AutoLoad,40,pppox pppoe)
+ FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
+ AUTOLOAD:=$(call AutoLoad,41,pppoe)
endef
define KernelPackage/pppoe/description
- Kernel modules for PPPoE (PPP over Ethernet) support
+ Kernel module for PPPoE (PPP over Ethernet) support
endef
$(eval $(call KernelPackage,pppoe))
@@ -534,7 +548,7 @@ $(eval $(call KernelPackage,pppoa))
define KernelPackage/pptp
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPtP support
- DEPENDS:=kmod-ppp +kmod-gre
+ DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
KCONFIG:=CONFIG_PPTP
FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
AUTOLOAD:=$(call AutoLoad,41,pptp)