# SPDX-License-Identifier: GPL-2.0 obj-$([31mCONFIG_STMMAC_ETH[0m) += stmmac.o stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o ring_mode.o \ chain_mode.o dwmac_lib.o dwmac1000_core.o dwmac1000_dma.o \ dwmac100_core.o dwmac100_dma.o enh_desc.o norm_desc.o \ mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o dwmac4_descs.o \ dwmac4_dma.o dwmac4_lib.o dwmac4_core.o dwmac5.o hwif.o \ stmmac_tc.o dwxgmac2_core.o dwxgmac2_dma.o dwxgmac2_descs.o \ $(stmmac-y) stmmac-$([31mCONFIG_STMMAC_SELFTESTS[0m) += stmmac_selftests.o # Ordering matters. Generic driver must be last. obj-$([31mCONFIG_STMMAC_PLATFORM[0m) += stmmac-platform.o obj-$([31mCONFIG_DWMAC_ANARION[0m) += dwmac-anarion.o obj-$([31mCONFIG_DWMAC_IPQ806X[0m) += dwmac-ipq806x.o obj-$([31mCONFIG_DWMAC_LPC18XX[0m) += dwmac-lpc18xx.o obj-$([31mCONFIG_DWMAC_MEDIATEK[0m) += dwmac-mediatek.o obj-$([31mCONFIG_DWMAC_MESON[0m) += dwmac-meson.o dwmac-meson8b.o obj-$([31mCONFIG_DWMAC_OXNAS[0m) += dwmac-oxnas.o obj-$([31mCONFIG_DWMAC_QCOM_ETHQOS[0m) += dwmac-qcom-ethqos.o obj-$([31mCONFIG_DWMAC_ROCKCHIP[0m) += dwmac-rk.o obj-$([31mCONFIG_DWMAC_SOCFPGA[0m) += dwmac-altr-socfpga.o obj-$([31mCONFIG_DWMAC_STI[0m) += dwmac-sti.o obj-$([31mCONFIG_DWMAC_STM32[0m) += dwmac-stm32.o obj-$([31mCONFIG_DWMAC_SUNXI[0m) += dwmac-sunxi.o obj-$([31mCONFIG_DWMAC_SUN8I[0m) += dwmac-sun8i.o obj-$([31mCONFIG_DWMAC_DWC_QOS_ETH[0m) += dwmac-dwc-qos-eth.o obj-$([31mCONFIG_DWMAC_GENERIC[0m) += dwmac-generic.o stmmac-platform-objs:= stmmac_platform.o dwmac-altr-socfpga-objs := altr_tse_pcs.o dwmac-socfpga.o obj-$([31mCONFIG_STMMAC_PCI[0m) += stmmac-pci.o stmmac-pci-objs:= stmmac_pci.o |