blob: cbe21dc7e37ee41dab11425d673ba0d20409074a [file] [log] [blame]
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07001#
2# Makefile for the Freescale network device drivers.
3#
4
Frank Li793fc092013-03-24 15:03:42 +00005obj-$(CONFIG_FEC) += fec.o
6fec-objs :=fec_main.o fec_ptp.o
Johannes Berg5cfa3032016-01-24 16:52:37 +01007CFLAGS_fec_main.o := -D__CHECK_ENDIAN__
8CFLAGS_fec_ptp.o := -D__CHECK_ENDIAN__
9
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070010obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
11ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
12 obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
13endif
14obj-$(CONFIG_FS_ENET) += fs_enet/
15obj-$(CONFIG_FSL_PQ_MDIO) += fsl_pq_mdio.o
Timur Tabi9f35a732012-08-20 09:26:39 +000016obj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070017obj-$(CONFIG_GIANFAR) += gianfar_driver.o
18obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
19gianfar_driver-objs := gianfar.o \
Claudiu Manoil34018fd2014-02-17 12:53:15 +020020 gianfar_ethtool.o
Jeff Kirsherec21e2e2011-06-11 02:29:36 -070021obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o
22ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o
Igal Liberman5adae512015-12-21 02:21:25 +020023
24obj-$(CONFIG_FSL_FMAN) += fman/