162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the Freescale network device drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_FEC) += fec.o
762306a36Sopenharmony_cifec-objs :=fec_main.o fec_ptp.o
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciobj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
1062306a36Sopenharmony_ciifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
1162306a36Sopenharmony_ci	obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
1262306a36Sopenharmony_ciendif
1362306a36Sopenharmony_ciobj-$(CONFIG_FS_ENET) += fs_enet/
1462306a36Sopenharmony_ciobj-$(CONFIG_FSL_PQ_MDIO) += fsl_pq_mdio.o
1562306a36Sopenharmony_ciobj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
1662306a36Sopenharmony_ciobj-$(CONFIG_GIANFAR) += gianfar_driver.o
1762306a36Sopenharmony_cigianfar_driver-objs := gianfar.o \
1862306a36Sopenharmony_ci		gianfar_ethtool.o
1962306a36Sopenharmony_ciobj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
2062306a36Sopenharmony_ciucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciobj-$(CONFIG_FSL_FMAN) += fman/
2362306a36Sopenharmony_ciobj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciobj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciobj-y += enetc/
28