xref: /openbmc/linux/drivers/hwtracing/coresight/Makefile (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
201081f5aSMathieu Poirier#
301081f5aSMathieu Poirier# Makefile for CoreSight drivers.
401081f5aSMathieu Poirier#
58e264c52STingwei Zhangobj-$(CONFIG_CORESIGHT) += coresight.o
68e264c52STingwei Zhangcoresight-y := coresight-core.o  coresight-etm-perf.o coresight-platform.o \
77fdc9bb2SMike Leach		coresight-sysfs.o coresight-syscfg.o coresight-config.o \
8a13d5a24SMike Leach		coresight-cfg-preload.o coresight-cfg-afdo.o \
9338a588eSMike Leach		coresight-syscfg-configfs.o coresight-trace-id.o
10ecfbf09bSKim Phillipsobj-$(CONFIG_CORESIGHT_LINK_AND_SINK_TMC) += coresight-tmc.o
11ecfbf09bSKim Phillipscoresight-tmc-y := coresight-tmc-core.o coresight-tmc-etf.o \
126c6ed1e2SMathieu Poirier		      coresight-tmc-etr.o
1301081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_SINK_TPIU) += coresight-tpiu.o
1401081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_SINK_ETBV10) += coresight-etb10.o
1501081f5aSMathieu Poirierobj-$(CONFIG_CORESIGHT_LINKS_AND_SINKS) += coresight-funnel.o \
1601081f5aSMathieu Poirier					   coresight-replicator.o
1797fe626cSKim Phillipsobj-$(CONFIG_CORESIGHT_SOURCE_ETM3X) += coresight-etm3x.o
1897fe626cSKim Phillipscoresight-etm3x-y := coresight-etm3x-core.o coresight-etm-cp14.o \
1937fbbdbdSMathieu Poirier		     coresight-etm3x-sysfs.o
2022a550a3SKim Phillipsobj-$(CONFIG_CORESIGHT_SOURCE_ETM4X) += coresight-etm4x.o
21810ac401SMike Leachcoresight-etm4x-y := coresight-etm4x-core.o coresight-etm4x-sysfs.o \
22810ac401SMike Leach			coresight-etm4x-cfg.o
23237483aaSPratik Patelobj-$(CONFIG_CORESIGHT_STM) += coresight-stm.o
242227b7c7SLeo Yanobj-$(CONFIG_CORESIGHT_CPU_DEBUG) += coresight-cpu-debug.o
25fcacb5c1SSuzuki K Pouloseobj-$(CONFIG_CORESIGHT_CATU) += coresight-catu.o
263c3fd1a1STingwei Zhangobj-$(CONFIG_CORESIGHT_CTI) += coresight-cti.o
273fbf7f01SAnshuman Khandualobj-$(CONFIG_CORESIGHT_TRBE) += coresight-trbe.o
28b3c71626SMao Jinlongobj-$(CONFIG_CORESIGHT_TPDM) += coresight-tpdm.o
295b791662SMao Jinlongobj-$(CONFIG_CORESIGHT_TPDA) += coresight-tpda.o
303c3fd1a1STingwei Zhangcoresight-cti-y := coresight-cti-core.o	coresight-cti-platform.o \
31835d722bSMike Leach		   coresight-cti-sysfs.o
3206f5c292SQi Liuobj-$(CONFIG_ULTRASOC_SMB) += ultrasoc-smb.o
33*9d3ba0b6SHao Zhangobj-$(CONFIG_CORESIGHT_DUMMY) += coresight-dummy.o
34