xref: /linux/sound/soc/sof/Makefile (revision 9c2f5b6eb8b7da05e13cde60c32e0a8b1f5873b0)
1e149ca29SPierre-Louis Bossart# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
27e978fa3SLiam Girdwood
3*9c2f5b6eSTakashi Iwaisnd-sof-y := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
4b1a4ee9fSPeter Ujfalusi		control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o\
5b1a4ee9fSPeter Ujfalusi		fw-file-profile.o
67ed1f83bSPeter Ujfalusi
77ed1f83bSPeter Ujfalusi# IPC implementations
87ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
9*9c2f5b6eSTakashi Iwaisnd-sof-y +=	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),)
13*9c2f5b6eSTakashi Iwaisnd-sof-y += 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),)
19*9c2f5b6eSTakashi Iwaisnd-sof-y += sof-client.o
204965e38fSPeter Ujfalusiendif
217bbdda80SPeter Ujfalusi
22858f7a5cSDaniel Balutasnd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o
237e978fa3SLiam Girdwood
24*9c2f5b6eSTakashi Iwaisnd-sof-pci-y := sof-pci-dev.o
25*9c2f5b6eSTakashi Iwaisnd-sof-acpi-y := sof-acpi-dev.o
26*9c2f5b6eSTakashi Iwaisnd-sof-of-y := sof-of-dev.o
27b9132b89SDaniel Baluta
28*9c2f5b6eSTakashi Iwaisnd-sof-ipc-flood-test-y := sof-client-ipc-flood-test.o
29*9c2f5b6eSTakashi Iwaisnd-sof-ipc-msg-injector-y := sof-client-ipc-msg-injector.o
30*9c2f5b6eSTakashi Iwaisnd-sof-ipc-kernel-injector-y := sof-client-ipc-kernel-injector.o
31*9c2f5b6eSTakashi Iwaisnd-sof-probes-y := sof-client-probes.o
32f5623593SJyri Sarhaifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
33*9c2f5b6eSTakashi Iwaisnd-sof-probes-y += sof-client-probes-ipc3.o
34f5623593SJyri Sarhaendif
3582f4b383SPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC4),)
36*9c2f5b6eSTakashi Iwaisnd-sof-probes-y += sof-client-probes-ipc4.o
37f5623593SJyri Sarhaendif
386e9548cdSRanjani Sridharan
39*9c2f5b6eSTakashi Iwaisnd-sof-nocodec-y := nocodec.o
407e978fa3SLiam Girdwood
41*9c2f5b6eSTakashi Iwaisnd-sof-utils-y := 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