xref: /linux/drivers/net/ethernet/mediatek/Makefile (revision 799684448e3e1f57257a6155541e53510488f67b)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2009fb097SJohn Crispin#
3009fb097SJohn Crispin# Makefile for the Mediatek SoCs built-in ethernet macs
4009fb097SJohn Crispin#
5009fb097SJohn Crispin
6d28d66e5SRandy Dunlapobj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o
7502e84e2SFelix Fietkaumtk_eth-y := mtk_eth_soc.o mtk_sgmii.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
8*79968444SLorenzo Bianconimtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed.o mtk_wed_mcu.o mtk_wed_wo.o
9804775dfSFelix Fietkauifdef CONFIG_DEBUG_FS
10804775dfSFelix Fietkaumtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed_debugfs.o
11804775dfSFelix Fietkauendif
12804775dfSFelix Fietkauobj-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed_ops.o
138c7bd5a4SBartosz Golaszewskiobj-$(CONFIG_NET_MEDIATEK_STAR_EMAC) += mtk_star_emac.o
14