xref: /linux/sound/soc/sof/Makefile (revision ab05061d25806515358d184eb4d305f7f12befdc)
1e149ca29SPierre-Louis Bossart# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
27e978fa3SLiam Girdwood
37e978fa3SLiam Girdwoodsnd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
47ed1f83bSPeter Ujfalusi		control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o
57ed1f83bSPeter Ujfalusi
67ed1f83bSPeter Ujfalusi# IPC implementations
77ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
87ed1f83bSPeter Ujfalusisnd-sof-objs +=	ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
97ed1f83bSPeter Ujfalusi		ipc3-dtrace.o
107ed1f83bSPeter Ujfalusiendif
117ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_INTEL_IPC4),)
12f4ea22f7SPeter Ujfalusisnd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
13*ab05061dSRander Wang		ipc4-mtrace.o ipc4-telemetry.o
147ed1f83bSPeter Ujfalusiendif
157ed1f83bSPeter Ujfalusi
167ed1f83bSPeter Ujfalusi# SOF client support
174965e38fSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_CLIENT),)
184965e38fSPeter Ujfalusisnd-sof-objs += sof-client.o
194965e38fSPeter Ujfalusiendif
207bbdda80SPeter Ujfalusi
21858f7a5cSDaniel Balutasnd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o
227e978fa3SLiam Girdwood
237e978fa3SLiam Girdwoodsnd-sof-pci-objs := sof-pci-dev.o
247e978fa3SLiam Girdwoodsnd-sof-acpi-objs := sof-acpi-dev.o
25b9132b89SDaniel Balutasnd-sof-of-objs := sof-of-dev.o
26b9132b89SDaniel Baluta
276e9548cdSRanjani Sridharansnd-sof-ipc-flood-test-objs := sof-client-ipc-flood-test.o
28cac0b088SPeter Ujfalusisnd-sof-ipc-msg-injector-objs := sof-client-ipc-msg-injector.o
2970dad53dSCurtis Malaineysnd-sof-ipc-kernel-injector-objs := sof-client-ipc-kernel-injector.o
30f5623593SJyri Sarhasnd-sof-probes-objs := sof-client-probes.o
31f5623593SJyri Sarhaifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
32f5623593SJyri Sarhasnd-sof-probes-objs += sof-client-probes-ipc3.o
33f5623593SJyri Sarhaendif
34f5623593SJyri Sarhaifneq ($(CONFIG_SND_SOC_SOF_INTEL_IPC4),)
35f5623593SJyri Sarhasnd-sof-probes-objs += sof-client-probes-ipc4.o
36f5623593SJyri Sarhaendif
376e9548cdSRanjani Sridharan
387e978fa3SLiam Girdwoodsnd-sof-nocodec-objs := nocodec.o
397e978fa3SLiam Girdwood
40ee844305SPeter Ujfalusisnd-sof-utils-objs := sof-utils.o
41ee844305SPeter Ujfalusi
427e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
437e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
447e978fa3SLiam Girdwood
45ee844305SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF) += snd-sof-utils.o
467e978fa3SLiam Girdwood
478a49cd11SArnd Bergmannobj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o
487548a391SPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_OF_DEV) += snd-sof-of.o
498d4ba1beSPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o
507e978fa3SLiam Girdwood
516e9548cdSRanjani Sridharanobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o
52cac0b088SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc-msg-injector.o
5370dad53dSCurtis Malaineyobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_KERNEL_INJECTOR) += snd-sof-ipc-kernel-injector.o
543dc0d709SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o
556e9548cdSRanjani Sridharan
567e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
57202acc56SDaniel Balutaobj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
58846aef1dSAjit Kumar Pandeyobj-$(CONFIG_SND_SOC_SOF_AMD_TOPLEVEL) += amd/
597e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
6032d7e03dSYC Hungobj-$(CONFIG_SND_SOC_SOF_MTK_TOPLEVEL) += mediatek/
61