1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Freescale network device drivers.
4#
5
6obj-$(CONFIG_FEC) += fec.o
7fec-objs :=fec_main.o fec_ptp.o
8
9obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
10ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
11	obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
12endif
13obj-$(CONFIG_FS_ENET) += fs_enet/
14obj-$(CONFIG_FSL_PQ_MDIO) += fsl_pq_mdio.o
15obj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
16obj-$(CONFIG_GIANFAR) += gianfar_driver.o
17gianfar_driver-objs := gianfar.o \
18		gianfar_ethtool.o
19obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
20ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
21
22obj-$(CONFIG_FSL_FMAN) += fman/
23obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
24
25obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
26
27obj-y += enetc/
28