xref: /linux/sound/soc/sof/Makefile (revision b1a4ee9fd5a2dfb0f23abe58377f816915ec14ba)
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\
4*b1a4ee9fSPeter Ujfalusi		control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o\
5*b1a4ee9fSPeter Ujfalusi		fw-file-profile.o
67ed1f83bSPeter Ujfalusi
77ed1f83bSPeter Ujfalusi# IPC implementations
87ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
97ed1f83bSPeter Ujfalusisnd-sof-objs +=	ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
107ed1f83bSPeter Ujfalusi		ipc3-dtrace.o
117ed1f83bSPeter Ujfalusiendif
1282f4b383SPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC4),)
13f4ea22f7SPeter Ujfalusisnd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
14ab05061dSRander Wang		ipc4-mtrace.o ipc4-telemetry.o
157ed1f83bSPeter Ujfalusiendif
167ed1f83bSPeter Ujfalusi
177ed1f83bSPeter Ujfalusi# SOF client support
184965e38fSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_CLIENT),)
194965e38fSPeter Ujfalusisnd-sof-objs += sof-client.o
204965e38fSPeter Ujfalusiendif
217bbdda80SPeter Ujfalusi
22858f7a5cSDaniel Balutasnd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o
237e978fa3SLiam Girdwood
247e978fa3SLiam Girdwoodsnd-sof-pci-objs := sof-pci-dev.o
257e978fa3SLiam Girdwoodsnd-sof-acpi-objs := sof-acpi-dev.o
26b9132b89SDaniel Balutasnd-sof-of-objs := sof-of-dev.o
27b9132b89SDaniel Baluta
286e9548cdSRanjani Sridharansnd-sof-ipc-flood-test-objs := sof-client-ipc-flood-test.o
29cac0b088SPeter Ujfalusisnd-sof-ipc-msg-injector-objs := sof-client-ipc-msg-injector.o
3070dad53dSCurtis Malaineysnd-sof-ipc-kernel-injector-objs := sof-client-ipc-kernel-injector.o
31f5623593SJyri Sarhasnd-sof-probes-objs := sof-client-probes.o
32f5623593SJyri Sarhaifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
33f5623593SJyri Sarhasnd-sof-probes-objs += sof-client-probes-ipc3.o
34f5623593SJyri Sarhaendif
3582f4b383SPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC4),)
36f5623593SJyri Sarhasnd-sof-probes-objs += sof-client-probes-ipc4.o
37f5623593SJyri Sarhaendif
386e9548cdSRanjani Sridharan
397e978fa3SLiam Girdwoodsnd-sof-nocodec-objs := nocodec.o
407e978fa3SLiam Girdwood
41ee844305SPeter Ujfalusisnd-sof-utils-objs := sof-utils.o
42ee844305SPeter Ujfalusi
437e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
447e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
457e978fa3SLiam Girdwood
46ee844305SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF) += snd-sof-utils.o
477e978fa3SLiam Girdwood
488a49cd11SArnd Bergmannobj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o
497548a391SPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_OF_DEV) += snd-sof-of.o
508d4ba1beSPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o
517e978fa3SLiam Girdwood
526e9548cdSRanjani Sridharanobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o
53cac0b088SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc-msg-injector.o
5470dad53dSCurtis Malaineyobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_KERNEL_INJECTOR) += snd-sof-ipc-kernel-injector.o
553dc0d709SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o
566e9548cdSRanjani Sridharan
577e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
58202acc56SDaniel Balutaobj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
59846aef1dSAjit Kumar Pandeyobj-$(CONFIG_SND_SOC_SOF_AMD_TOPLEVEL) += amd/
607e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
6132d7e03dSYC Hungobj-$(CONFIG_SND_SOC_SOF_MTK_TOPLEVEL) += mediatek/
62