diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-23 20:01:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-23 20:01:26 +0000 |
commit | 6255856c681ac41b9cc3e8ac8256d2fcb7142677 (patch) | |
tree | 461d897859493710513345468c5f04038ce885cf /package/kernel/linux/modules/netdevices.mk | |
parent | 7e29a768fa1899bab375ca16e3d4f898d9e6723f (diff) | |
download | mtk-20170518-6255856c681ac41b9cc3e8ac8256d2fcb7142677.zip mtk-20170518-6255856c681ac41b9cc3e8ac8256d2fcb7142677.tar.gz mtk-20170518-6255856c681ac41b9cc3e8ac8256d2fcb7142677.tar.bz2 |
kernel: add a package for bcm-phy-lib.ko, fixes build errors with kmod-phy-broadcom
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48464
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index ef3cf85..417a6a6 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -148,11 +148,24 @@ endef $(eval $(call KernelPackage,gw16083)) +define KernelPackage/phylib-broadcom + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Broadcom Ethernet PHY library + KCONFIG:=CONFIG_BCM_NET_PHYLIB + HIDDEN:=1 + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko + AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib) +endef + +$(eval $(call KernelPackage,phylib-broadcom)) + + define KernelPackage/phy-broadcom SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Broadcom Ethernet PHY driver KCONFIG:=CONFIG_BROADCOM_PHY - DEPENDS:=+kmod-libphy + DEPENDS:=+kmod-libphy +kmod-phylib-broadcom FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko AUTOLOAD:=$(call AutoLoad,18,broadcom) endef |