1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the Mediatek SoCs built-in ethernet macs
4#
5
6obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o
7mtk_eth-y := mtk_eth_soc.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
8mtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed.o mtk_wed_mcu.o mtk_wed_wo.o
9ifdef CONFIG_DEBUG_FS
10mtk_eth-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed_debugfs.o
11endif
12obj-$(CONFIG_NET_MEDIATEK_SOC_WED) += mtk_wed_ops.o
13obj-$(CONFIG_NET_MEDIATEK_STAR_EMAC) += mtk_star_emac.o
14