blob: de7b3184223309b1cec95422cdb560fb84b4113d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07002#
3# Makefile for the Freescale network device drivers.
4#
5
Frank Li793fc092013-03-24 15:03:42 +00006obj-$(CONFIG_FEC) += fec.o
7fec-objs :=fec_main.o fec_ptp.o
Johannes Berg5cfa3032016-01-24 16:52:37 +01008
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07009obj-$(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
Timur Tabi9f35a732012-08-20 09:26:39 +000015obj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070016obj-$(CONFIG_GIANFAR) += gianfar_driver.o
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070017gianfar_driver-objs := gianfar.o \
Claudiu Manoil34018fd2014-02-17 12:53:15 +020018 gianfar_ethtool.o
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070019obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
20ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
Igal Liberman5adae512015-12-21 02:21:25 +020021
22obj-$(CONFIG_FSL_FMAN) += fman/
Madalin Bucur9ad1a372016-11-15 10:41:02 +020023obj-$(CONFIG_FSL_DPAA_ETH) += dpaa/
Ioana Radulescu34ff6842018-08-29 04:42:40 -050024
25obj-$(CONFIG_FSL_DPAA2_ETH) += dpaa2/
Claudiu Manoild4fd04042019-01-22 15:29:54 +020026
Arnd Bergmann74c97ea2021-04-22 15:35:11 +020027obj-y += enetc/