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 | 768442f451304c7979e8a206197d7f7b52826eaa (patch) | |
tree | a86497440d42ed369683e00474c8cac202ea37e5 /package/kernel/linux | |
parent | 3e1daffab2b97851a368bfd714c761fc29107d95 (diff) | |
download | master-187ad058-768442f451304c7979e8a206197d7f7b52826eaa.tar.gz master-187ad058-768442f451304c7979e8a206197d7f7b52826eaa.tar.bz2 master-187ad058-768442f451304c7979e8a206197d7f7b52826eaa.zip |
kernel: add a package for bcm-phy-lib.ko, fixes build errors with kmod-phy-broadcom
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48464 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux')
-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 ef3cf85ef8..417a6a6114 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 |