Makefile (cc514101a97e3fb48f8617c8f291db798d10d831) Makefile (799684448e3e1f57257a6155541e53510488f67b)
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_sgmii.o mtk_eth_path.o mtk_ppe.o mtk_ppe_debugfs.o mtk_ppe_offload.o
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_sgmii.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
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
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