xref: /linux/drivers/net/ethernet/mediatek/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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
72a3ec7aeSDaniel Gollemtk_eth-y := mtk_eth_soc.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
879968444SLorenzo 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*23020f04SLorenzo Bianconiobj-$(CONFIG_NET_AIROHA) += airoha_eth.o
15