| .. | .. |
|---|
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | 2 | obj-$(CONFIG_STMMAC_ETH) += stmmac.o |
|---|
| 3 | | -stmmac-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 \ |
|---|
| 3 | + |
|---|
| 4 | +stmmac-objs:= stmmac_main.o stmmac_mdio.o dwmac_lib.o \ |
|---|
| 5 | + mmc_core.o dwmac4_descs.o dwmac4_dma.o \ |
|---|
| 6 | + dwmac4_lib.o dwmac4_core.o hwif.o \ |
|---|
| 9 | 7 | $(stmmac-y) |
|---|
| 8 | + |
|---|
| 9 | +stmmac-$(CONFIG_STMMAC_FULL) += ring_mode.o chain_mode.o dwmac1000_core.o \ |
|---|
| 10 | + dwmac1000_dma.o dwmac100_core.o dwmac100_dma.o \ |
|---|
| 11 | + enh_desc.o norm_desc.o dwmac5.o stmmac_tc.o \ |
|---|
| 12 | + dwxgmac2_core.o dwxgmac2_dma.o dwxgmac2_descs.o |
|---|
| 13 | + |
|---|
| 14 | +stmmac-$(CONFIG_STMMAC_ETHTOOL) += stmmac_ethtool.o |
|---|
| 15 | + |
|---|
| 16 | +stmmac-$(CONFIG_STMMAC_PTP) += stmmac_hwtstamp.o stmmac_ptp.o |
|---|
| 10 | 17 | |
|---|
| 11 | 18 | # Ordering matters. Generic driver must be last. |
|---|
| 12 | 19 | obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o |
|---|
| .. | .. |
|---|
| 16 | 23 | obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o |
|---|
| 17 | 24 | obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o |
|---|
| 18 | 25 | obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rockchip.o |
|---|
| 19 | | -dwmac-rockchip-objs := dwmac-rk.o dwmac-rk-tool.o |
|---|
| 26 | +dwmac-rockchip-objs := dwmac-rk.o |
|---|
| 27 | +dwmac-rockchip-$(CONFIG_DWMAC_ROCKCHIP_TOOL) += dwmac-rk-tool.o |
|---|
| 28 | +obj-$(CONFIG_STMMAC_UIO) += stmmac_uio.o |
|---|
| 20 | 29 | obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-altr-socfpga.o |
|---|
| 21 | 30 | obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o |
|---|
| 22 | 31 | obj-$(CONFIG_DWMAC_STM32) += dwmac-stm32.o |
|---|