1# SPDX-License-Identifier: GPL-2.0 2obj-$(CONFIG_STMMAC_ETH) += stmmac.o 3stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o ring_mode.o \ 4 chain_mode.o dwmac_lib.o dwmac1000_core.o dwmac1000_dma.o \ 5 dwmac100_core.o dwmac100_dma.o enh_desc.o norm_desc.o \ 6 mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o dwmac4_descs.o \ 7 dwmac4_dma.o dwmac4_lib.o dwmac4_core.o dwmac5.o hwif.o \ 8 stmmac_tc.o dwxgmac2_core.o dwxgmac2_dma.o dwxgmac2_descs.o \ 9 stmmac_xdp.o stmmac_est.o \ 10 $(stmmac-y) 11 12stmmac-$(CONFIG_STMMAC_SELFTESTS) += stmmac_selftests.o 13 14# Ordering matters. Generic driver must be last. 15obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o 16obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o 17obj-$(CONFIG_DWMAC_INGENIC) += dwmac-ingenic.o 18obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o 19obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o 20obj-$(CONFIG_DWMAC_MEDIATEK) += dwmac-mediatek.o 21obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o 22obj-$(CONFIG_DWMAC_QCOM_ETHQOS) += dwmac-qcom-ethqos.o 23obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o 24obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-altr-socfpga.o 25obj-$(CONFIG_DWMAC_STARFIVE) += dwmac-starfive.o 26obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o 27obj-$(CONFIG_DWMAC_STM32) += dwmac-stm32.o 28obj-$(CONFIG_DWMAC_SUNXI) += dwmac-sunxi.o 29obj-$(CONFIG_DWMAC_SUN8I) += dwmac-sun8i.o 30obj-$(CONFIG_DWMAC_DWC_QOS_ETH) += dwmac-dwc-qos-eth.o 31obj-$(CONFIG_DWMAC_INTEL_PLAT) += dwmac-intel-plat.o 32obj-$(CONFIG_DWMAC_LOONGSON1) += dwmac-loongson1.o 33obj-$(CONFIG_DWMAC_GENERIC) += dwmac-generic.o 34obj-$(CONFIG_DWMAC_IMX8) += dwmac-imx.o 35obj-$(CONFIG_DWMAC_TEGRA) += dwmac-tegra.o 36obj-$(CONFIG_DWMAC_VISCONTI) += dwmac-visconti.o 37stmmac-platform-objs:= stmmac_platform.o 38dwmac-altr-socfpga-objs := dwmac-socfpga.o 39 40obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o 41obj-$(CONFIG_DWMAC_INTEL) += dwmac-intel.o 42obj-$(CONFIG_DWMAC_LOONGSON) += dwmac-loongson.o 43stmmac-pci-objs:= stmmac_pci.o 44