kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)

SVN-Revision: 32433
owl
Jo-Philipp Wich 2012-06-18 23:26:36 +00:00
parent d65c855203
commit 3cf347124a
1 changed files with 21 additions and 7 deletions

View File

@ -497,19 +497,33 @@ endef
$(eval $(call KernelPackage,ppp-synctty)) $(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 define KernelPackage/pppoe
SUBMENU:=$(NETWORK_SUPPORT_MENU) SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPPoE support TITLE:=PPPoE support
DEPENDS:=kmod-ppp DEPENDS:=kmod-ppp +kmod-pppox
KCONFIG:=CONFIG_PPPOE KCONFIG:=CONFIG_PPPOE
FILES:= \ FILES:=$(LINUX_DIR)/drivers/net/ppp/pppoe.ko
$(LINUX_DIR)/drivers/net/ppp/pppoe.ko \ AUTOLOAD:=$(call AutoLoad,41,pppoe)
$(LINUX_DIR)/drivers/net/ppp/pppox.ko
AUTOLOAD:=$(call AutoLoad,40,pppox pppoe)
endef endef
define KernelPackage/pppoe/description define KernelPackage/pppoe/description
Kernel modules for PPPoE (PPP over Ethernet) support Kernel module for PPPoE (PPP over Ethernet) support
endef endef
$(eval $(call KernelPackage,pppoe)) $(eval $(call KernelPackage,pppoe))
@ -534,7 +548,7 @@ $(eval $(call KernelPackage,pppoa))
define KernelPackage/pptp define KernelPackage/pptp
SUBMENU:=$(NETWORK_SUPPORT_MENU) SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPtP support TITLE:=PPtP support
DEPENDS:=kmod-ppp +kmod-gre DEPENDS:=kmod-ppp +kmod-gre +kmod-pppox
KCONFIG:=CONFIG_PPTP KCONFIG:=CONFIG_PPTP
FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko FILES:=$(LINUX_DIR)/drivers/net/ppp/pptp.ko
AUTOLOAD:=$(call AutoLoad,41,pptp) AUTOLOAD:=$(call AutoLoad,41,pptp)