summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/ethernet/stmicro/stmmac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/ethernet/stmicro/stmmac/Makefile')
-rw-r--r--kernel/drivers/net/ethernet/stmicro/stmmac/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/drivers/net/ethernet/stmicro/stmmac/Makefile b/kernel/drivers/net/ethernet/stmicro/stmmac/Makefile
new file mode 100644
index 000000000..73c2715a2
--- /dev/null
+++ b/kernel/drivers/net/ethernet/stmicro/stmmac/Makefile
@@ -0,0 +1,12 @@
+obj-$(CONFIG_STMMAC_ETH) += 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 $(stmmac-y)
+
+obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
+stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-sunxi.o \
+ dwmac-sti.o dwmac-socfpga.o dwmac-rk.o
+
+obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o
+stmmac-pci-objs:= stmmac_pci.o