xref: /openbmc/linux/drivers/net/ethernet/freescale/Makefile (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2ec21e2ecSJeff Kirsher#
3ec21e2ecSJeff Kirsher# Makefile for the Freescale network device drivers.
4ec21e2ecSJeff Kirsher#
5ec21e2ecSJeff Kirsher
6793fc096SFrank Liobj-$(CONFIG_FEC) += fec.o
7793fc096SFrank Lifec-objs :=fec_main.o fec_ptp.o
85cfa3039SJohannes Berg
9ec21e2ecSJeff Kirsherobj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
10ec21e2ecSJeff Kirsherifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
11ec21e2ecSJeff Kirsher	obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
12ec21e2ecSJeff Kirsherendif
13ec21e2ecSJeff Kirsherobj-$(CONFIG_FS_ENET) += fs_enet/
14ec21e2ecSJeff Kirsherobj-$(CONFIG_FSL_PQ_MDIO) += fsl_pq_mdio.o
159f35a734STimur Tabiobj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
16ec21e2ecSJeff Kirsherobj-$(CONFIG_GIANFAR) += gianfar_driver.o
17ec21e2ecSJeff Kirshergianfar_driver-objs := gianfar.o \
1834018fd4SClaudiu Manoil		gianfar_ethtool.o
19ec21e2ecSJeff Kirsherobj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
20ec21e2ecSJeff Kirsherucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
215adae51aSIgal Liberman
225adae51aSIgal Libermanobj-$(CONFIG_FSL_FMAN) += fman/
239ad1a374SMadalin Bucurobj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
2434ff6846SIoana Radulescu
2534ff6846SIoana Radulescuobj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
26d4fd0404SClaudiu Manoil
27*74c97ea3SArnd Bergmannobj-y += enetc/
28