blob: 68e9e2640c62845b8765671a2a2bfc8ac28f4a10 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Giuseppe Cavallaro47dd7a52009-10-14 15:13:45 -07002obj-$(CONFIG_STMMAC_ETH) += stmmac.o
Giuseppe CAVALLARO4a7d6662013-03-26 04:43:05 +00003stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o ring_mode.o \
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +02004 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 \
Alexandre TORGUE753a7102016-04-01 11:37:28 +02006 mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o dwmac4_descs.o \
Jose Abreu5f0456b2018-04-23 09:05:15 +01007 dwmac4_dma.o dwmac4_lib.o dwmac4_core.o dwmac5.o hwif.o \
Jose Abreu4dbbe8d2018-05-04 10:01:38 +01008 stmmac_tc.o $(stmmac-y)
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +02009
Joachim Eastwoodba250202015-05-14 12:10:59 +020010# Ordering matters. Generic driver must be last.
11obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
Alexandru Gagniuc2d1611a2017-08-04 13:08:51 -070012obj-$(CONFIG_DWMAC_ANARION) += dwmac-anarion.o
Mathieu Olivarib1c17212015-05-27 11:02:49 -070013obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
Joachim Eastwood69bdd2d2015-05-14 12:11:00 +020014obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
Martin Blumenstingl566e8252016-09-06 23:38:46 +020015obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o
Neil Armstrong5ed74142016-11-02 15:02:36 +010016obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o
Joachim Eastwoode0fb4012015-05-14 12:11:02 +020017obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
Tien Hock Lohfb3bbdb2016-07-07 20:23:30 -070018obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-altr-socfpga.o
Joachim Eastwood2a321792015-05-14 12:11:04 +020019obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o
Alexandre TORGUEc6eec6f2016-08-29 18:23:38 +020020obj-$(CONFIG_DWMAC_STM32) += dwmac-stm32.o
Joachim Eastwood4198b7d2015-05-14 12:11:05 +020021obj-$(CONFIG_DWMAC_SUNXI) += dwmac-sunxi.o
LABBE Corentin9f93ac82017-05-31 09:18:36 +020022obj-$(CONFIG_DWMAC_SUN8I) += dwmac-sun8i.o
jpintod8256122017-01-09 12:35:10 +000023obj-$(CONFIG_DWMAC_DWC_QOS_ETH) += dwmac-dwc-qos-eth.o
Joachim Eastwoodba250202015-05-14 12:10:59 +020024obj-$(CONFIG_DWMAC_GENERIC) += dwmac-generic.o
Joachim Eastwood4198b7d2015-05-14 12:11:05 +020025stmmac-platform-objs:= stmmac_platform.o
Tien Hock Lohfb3bbdb2016-07-07 20:23:30 -070026dwmac-altr-socfpga-objs := altr_tse_pcs.o dwmac-socfpga.o
Andy Shevchenkob2e2f0c2014-11-10 12:38:59 +020027
28obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o
29stmmac-pci-objs:= stmmac_pci.o