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 |
developer | 0fb30d5 | 2023-12-04 09:51:36 +0800 | [diff] [blame] | 14 | tops-y += debugfs.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 15 | tops-y += firmware.o |
| 16 | tops-y += init.o |
| 17 | tops-y += hpdma.o |
| 18 | tops-y += hwspinlock.o |
| 19 | tops-y += mbox.o |
| 20 | tops-y += mcu.o |
developer | d80acd0 | 2024-02-20 14:28:44 +0800 | [diff] [blame] | 21 | tops-y += misc.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 22 | tops-y += netsys.o |
| 23 | tops-y += net-event.o |
developer | 0fb30d5 | 2023-12-04 09:51:36 +0800 | [diff] [blame] | 24 | tops-y += tops_params.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 25 | tops-y += tnl_offload.o |
| 26 | tops-y += ser.o |
| 27 | tops-y += tdma.o |
| 28 | tops-y += trm-fs.o |
| 29 | tops-y += trm-mcu.o |
developer | fbdb511 | 2023-08-21 15:12:14 +0800 | [diff] [blame] | 30 | tops-y += trm-debugfs.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 31 | tops-y += trm.o |
| 32 | tops-y += wdt.o |
developer | 5d86c14 | 2023-12-06 14:18:27 +0800 | [diff] [blame] | 33 | tops-y += seq_gen.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 34 | |
developer | 0fb30d5 | 2023-12-04 09:51:36 +0800 | [diff] [blame] | 35 | tops-y += protocol/mac/eth.o |
| 36 | tops-y += protocol/mac/ppp.o |
| 37 | tops-y += protocol/network/ip.o |
| 38 | tops-y += protocol/transport/udp.o |
| 39 | tops-$(CONFIG_MTK_TOPS_GRETAP) += protocol/tunnel/gre/gretap.o |
| 40 | tops-$(CONFIG_MTK_TOPS_L2TP_V2) += protocol/tunnel/l2tp/l2tpv2.o |
developer | 5d86c14 | 2023-12-06 14:18:27 +0800 | [diff] [blame] | 41 | tops-$(CONFIG_MTK_TOPS_PPTP) += protocol/tunnel/pptp/pptp.o |
| 42 | tops-$(CONFIG_MTK_TOPS_PPTP) += protocol/tunnel/pptp/pptp_seq.o |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 43 | |
| 44 | include $(wildcard $(src)/*.mk) |