blob: 845f657ff110e53ca06496296824801023613447 [file] [log] [blame]
developere5e687d2023-08-08 16:05:33 +08001# 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
8obj-$(CONFIG_MTK_TOPS_SUPPORT) += tops.o
9
10ccflags-y += -I$(src)/inc
11ccflags-y += -I$(src)/protocol/inc
12
13tops-y += ctrl.o
14tops-y += firmware.o
15tops-y += init.o
16tops-y += hpdma.o
17tops-y += hwspinlock.o
18tops-y += mbox.o
19tops-y += mcu.o
20tops-y += netsys.o
21tops-y += net-event.o
22tops-y += tnl_offload.o
23tops-y += ser.o
24tops-y += tdma.o
25tops-y += trm-fs.o
26tops-y += trm-mcu.o
developerfbdb5112023-08-21 15:12:14 +080027tops-y += trm-debugfs.o
developere5e687d2023-08-08 16:05:33 +080028tops-y += trm.o
29tops-y += wdt.o
30
31tops-$(CONFIG_MTK_TOPS_GRETAP) += protocol/gre/gretap.o
32tops-$(CONFIG_MTK_TOPS_UDP_L2TP_DATA) += protocol/l2tp/udp_l2tp_data.o
33
34include $(wildcard $(src)/*.mk)