Makefile 1.0 KB

123456789101112131415161718192021222324
  1. obj-$(CONFIG_STMMAC_ETH) += stmmac.o
  2. stmmac-objs:= stmmac_main.o stmmac_ethtool.o stmmac_mdio.o ring_mode.o \
  3. chain_mode.o dwmac_lib.o dwmac1000_core.o dwmac1000_dma.o \
  4. dwmac100_core.o dwmac100_dma.o enh_desc.o norm_desc.o \
  5. mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o dwmac4_descs.o \
  6. dwmac4_dma.o dwmac4_lib.o dwmac4_core.o $(stmmac-y)
  7. # Ordering matters. Generic driver must be last.
  8. obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
  9. obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
  10. obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
  11. obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o
  12. obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
  13. obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-altr-socfpga.o
  14. obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o
  15. obj-$(CONFIG_DWMAC_STM32) += dwmac-stm32.o
  16. obj-$(CONFIG_DWMAC_SUNXI) += dwmac-sunxi.o
  17. obj-$(CONFIG_DWMAC_GENERIC) += dwmac-generic.o
  18. stmmac-platform-objs:= stmmac_platform.o
  19. dwmac-altr-socfpga-objs := altr_tse_pcs.o dwmac-socfpga.o
  20. obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o
  21. stmmac-pci-objs:= stmmac_pci.o