1# 2# Makefile for the Freescale network device drivers. 3# 4 5obj-$(CONFIG_FEC) += fec.o 6fec-objs :=fec_main.o fec_ptp.o 7CFLAGS_fec_main.o := -D__CHECK_ENDIAN__ 8CFLAGS_fec_ptp.o := -D__CHECK_ENDIAN__ 9 10obj-$(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 16obj-$(CONFIG_FSL_XGMAC_MDIO) += xgmac_mdio.o 17obj-$(CONFIG_GIANFAR) += gianfar_driver.o 18obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o 19gianfar_driver-objs := gianfar.o \ 20 gianfar_ethtool.o 21obj-$(CONFIG_UCC_GETH) += ucc_geth_driver.o 22ucc_geth_driver-objs := ucc_geth.o ucc_geth_ethtool.o 23 24obj-$(CONFIG_FSL_FMAN) += fman/ 25