developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | # |
| 3 | # Copyright (c) 2023 MediaTek Inc. All Rights Reserved. |
| 4 | # |
| 5 | # Author: Ren-Ting Wang <ren-ting.wang@mediatek.com> |
| 6 | # |
| 7 | |
| 8 | obj-$(CONFIG_MTK_TOPS_SUPPORT) += tops.o |
| 9 | |
| 10 | ccflags-y += -I$(src)/inc |
| 11 | ccflags-y += -I$(src)/protocol/inc |
| 12 | |
| 13 | tops-y += ctrl.o |
| 14 | tops-y += firmware.o |
| 15 | tops-y += init.o |
| 16 | tops-y += hpdma.o |
| 17 | tops-y += hwspinlock.o |
| 18 | tops-y += mbox.o |
| 19 | tops-y += mcu.o |
| 20 | tops-y += netsys.o |
| 21 | tops-y += net-event.o |
| 22 | tops-y += tnl_offload.o |
| 23 | tops-y += ser.o |
| 24 | tops-y += tdma.o |
| 25 | tops-y += trm-fs.o |
| 26 | tops-y += trm-mcu.o |
developer | fbdb511 | 2023-08-21 15:12:14 +0800 | [diff] [blame] | 27 | tops-y += trm-debugfs.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 28 | tops-y += trm.o |
| 29 | tops-y += wdt.o |
| 30 | |
| 31 | tops-$(CONFIG_MTK_TOPS_GRETAP) += protocol/gre/gretap.o |
| 32 | tops-$(CONFIG_MTK_TOPS_UDP_L2TP_DATA) += protocol/l2tp/udp_l2tp_data.o |
| 33 | |
| 34 | include $(wildcard $(src)/*.mk) |