blob: 2ad73cd08e0aafa6bd3cb5634e65dd9433c3967d [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
developerd80acd02024-02-20 14:28:44 +080021tops-y += misc.o
developere5e687d2023-08-08 16:05:33 +080022tops-y += netsys.o
23tops-y += net-event.o
developer0fb30d52023-12-04 09:51:36 +080024tops-y += tops_params.o
developere5e687d2023-08-08 16:05:33 +080025tops-y += tnl_offload.o
26tops-y += ser.o
27tops-y += tdma.o
28tops-y += trm-fs.o
29tops-y += trm-mcu.o
developerfbdb5112023-08-21 15:12:14 +080030tops-y += trm-debugfs.o
developere5e687d2023-08-08 16:05:33 +080031tops-y += trm.o
32tops-y += wdt.o
developer5d86c142023-12-06 14:18:27 +080033tops-y += seq_gen.o
developere5e687d2023-08-08 16:05:33 +080034
developer0fb30d52023-12-04 09:51:36 +080035tops-y += protocol/mac/eth.o
36tops-y += protocol/mac/ppp.o
37tops-y += protocol/network/ip.o
38tops-y += protocol/transport/udp.o
39tops-$(CONFIG_MTK_TOPS_GRETAP) += protocol/tunnel/gre/gretap.o
40tops-$(CONFIG_MTK_TOPS_L2TP_V2) += protocol/tunnel/l2tp/l2tpv2.o
developer5d86c142023-12-06 14:18:27 +080041tops-$(CONFIG_MTK_TOPS_PPTP) += protocol/tunnel/pptp/pptp.o
42tops-$(CONFIG_MTK_TOPS_PPTP) += protocol/tunnel/pptp/pptp_seq.o
developere5e687d2023-08-08 16:05:33 +080043
44include $(wildcard $(src)/*.mk)