xref: /linux/drivers/hwtracing/coresight/Makefile (revision 97fe626ce64c8d0adf07d2700bd3c7c7089dd12f)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
201081f5aSMathieu Poirier#
301081f5aSMathieu Poirier# Makefile for CoreSight drivers.
401081f5aSMathieu Poirier#
580961525SMike Leachobj-$(CONFIG_CORESIGHT) += coresight.o coresight-etm-perf.o \
680961525SMike Leach			   coresight-platform.o coresight-sysfs.o
76c6ed1e2SMathieu Poirierobj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o \
86c6ed1e2SMathieu Poirier					     coresight-tmc-etf.o \
96c6ed1e2SMathieu Poirier					     coresight-tmc-etr.o
1001081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o
1101081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o
1201081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \
1301081f5aSMathieu Poirier					   coresight-replicator.o
14*97fe626cSKim Phillipsobj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
15*97fe626cSKim Phillipscoresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
1637fbbdbdSMathieu Poirier		     coresight-etm3x-sysfs.o
17a77de263SMathieu Poirierobj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o \
18a77de263SMathieu Poirier					coresight-etm4x-sysfs.o
19237483aaSPratik Patelobj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o
202227b7c7SLeo Yanobj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o
21fcacb5c1SSuzuki K Pouloseobj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o
22835d722bSMike Leachobj-$(CONFIG_CORESIGHT_CTI) += coresight-cti.o \
23835d722bSMike Leach				coresight-cti-platform.o \
24835d722bSMike Leach				coresight-cti-sysfs.o
25