1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for CoreSight drivers.
4#
5obj-$(CONFIG_CORESIGHT) += coresight.o
6coresight-y := coresight-core.o  coresight-etm-perf.o coresight-platform.o \
7		coresight-sysfs.o coresight-syscfg.o coresight-config.o \
8		coresight-cfg-preload.o coresight-cfg-afdo.o \
9		coresight-syscfg-configfs.o coresight-trace-id.o
10obj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
11coresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \
12		      coresight-tmc-etr.o
13obj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o
14obj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o
15obj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \
16					   coresight-replicator.o
17obj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
18coresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
19		     coresight-etm3x-sysfs.o
20obj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o
21coresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o \
22			coresight-etm4x-cfg.o
23obj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o
24obj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o
25obj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o
26obj-$(CONFIG_CORESIGHT_CTI) += coresight-cti.o
27obj-$(CONFIG_CORESIGHT_TRBE) += coresight-trbe.o
28obj-$(CONFIG_CORESIGHT_TPDM) += coresight-tpdm.o
29obj-$(CONFIG_CORESIGHT_TPDA) += coresight-tpda.o
30coresight-cti-y := coresight-cti-core.o	coresight-cti-platform.o \
31		   coresight-cti-sysfs.o
32obj-$(CONFIG_ULTRASOC_SMB) += ultrasoc-smb.o
33