mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
112463ddbe
When the enetc driver is disabled, the mdio support fails to get built: drivers/net/dsa/ocelot/felix_vsc9959.o: In function `vsc9959_mdio_bus_alloc': felix_vsc9959.c:(.text+0x19c): undefined reference to `enetc_hw_alloc' felix_vsc9959.c:(.text+0x1d1): undefined reference to `enetc_mdio_read' felix_vsc9959.c:(.text+0x1d8): undefined reference to `enetc_mdio_write' Change the Makefile to enter the subdirectory for this as well. Fixes:bdeced75b1
("net: dsa: felix: Add PCS operations for PHYLINK") Fixes:6517798dd3
("enetc: Make MDIO accessors more generic and export to include/linux/fsl") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
30 lines
822 B
Makefile
30 lines
822 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Freescale network device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_FEC) += fec.o
|
|
fec-objs :=fec_main.o fec_ptp.o
|
|
|
|
obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
|
|
ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
|
|
obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
|
|
endif
|
|
obj-$(CONFIG_FS_ENET) += fs_enet/
|
|
obj-$(CONFIG_FSL_PQ_MDIO) += fsl_pq_mdio.o
|
|
obj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
|
|
obj-$(CONFIG_GIANFAR) += gianfar_driver.o
|
|
gianfar_driver-objs := gianfar.o \
|
|
gianfar_ethtool.o
|
|
obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
|
|
ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
|
|
|
|
obj-$(CONFIG_FSL_FMAN) += fman/
|
|
obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
|
|
|
|
obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
|
|
|
|
obj-$(CONFIG_FSL_ENETC) += enetc/
|
|
obj-$(CONFIG_FSL_ENETC_MDIO) += enetc/
|
|
obj-$(CONFIG_FSL_ENETC_VF) += enetc/
|