blob: 86f860d1bcabd67c0edc388f6b7abd2dcf4739a9 [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
developer0fb30d52023-12-04 09:51:36 +080014tops-y += debugfs.o
developere5e687d2023-08-08 16:05:33 +080015tops-y += firmware.o
16tops-y += init.o
17tops-y += hpdma.o
18tops-y += hwspinlock.o
19tops-y += mbox.o
20tops-y += mcu.o
21tops-y += netsys.o
22tops-y += net-event.o
developer0fb30d52023-12-04 09:51:36 +080023tops-y += tops_params.o
developere5e687d2023-08-08 16:05:33 +080024tops-y += tnl_offload.o
25tops-y += ser.o
26tops-y += tdma.o
27tops-y += trm-fs.o
28tops-y += trm-mcu.o
developerfbdb5112023-08-21 15:12:14 +080029tops-y += trm-debugfs.o
developere5e687d2023-08-08 16:05:33 +080030tops-y += trm.o
31tops-y += wdt.o
32
developer0fb30d52023-12-04 09:51:36 +080033tops-y += protocol/mac/eth.o
34tops-y += protocol/mac/ppp.o
35tops-y += protocol/network/ip.o
36tops-y += protocol/transport/udp.o
37tops-$(CONFIG_MTK_TOPS_GRETAP) += protocol/tunnel/gre/gretap.o
38tops-$(CONFIG_MTK_TOPS_L2TP_V2) += protocol/tunnel/l2tp/l2tpv2.o
developere5e687d2023-08-08 16:05:33 +080039
40include $(wildcard $(src)/*.mk)