xref: /linux/drivers/hwtracing/coresight/Makefile (revision ecfbf09b1e3f2ac3ed1faf8385e6cf4f6efc26b5)
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
7*ecfbf09bSKim Phillipsobj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
8*ecfbf09bSKim Phillipscoresight-tmc-y := coresight-tmc-core.o 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
1497fe626cSKim Phillipsobj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
1597fe626cSKim Phillipscoresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
1637fbbdbdSMathieu Poirier		     coresight-etm3x-sysfs.o
1722a550a3SKim Phillipsobj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o
1822a550a3SKim Phillipscoresight-etm4x-y := coresight-etm4x-core.o 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