xref: /linux/sound/soc/sof/Makefile (revision 7ed1f83bb4f05fe460984ae49e98d1c1be38fb5f)
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*7ed1f83bSPeter Ujfalusi		control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o
5*7ed1f83bSPeter Ujfalusi
6*7ed1f83bSPeter Ujfalusi# IPC implementations
7*7ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
8*7ed1f83bSPeter Ujfalusisnd-sof-objs +=	ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
9*7ed1f83bSPeter Ujfalusi		ipc3-dtrace.o
10*7ed1f83bSPeter Ujfalusiendif
11*7ed1f83bSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_INTEL_IPC4),)
12*7ed1f83bSPeter Ujfalusisnd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o
13*7ed1f83bSPeter Ujfalusiendif
14*7ed1f83bSPeter Ujfalusi
15*7ed1f83bSPeter Ujfalusi# SOF client support
164965e38fSPeter Ujfalusiifneq ($(CONFIG_SND_SOC_SOF_CLIENT),)
174965e38fSPeter Ujfalusisnd-sof-objs += sof-client.o
184965e38fSPeter Ujfalusiendif
197bbdda80SPeter Ujfalusi
20858f7a5cSDaniel Balutasnd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o
217e978fa3SLiam Girdwood
227e978fa3SLiam Girdwoodsnd-sof-pci-objs := sof-pci-dev.o
237e978fa3SLiam Girdwoodsnd-sof-acpi-objs := sof-acpi-dev.o
24b9132b89SDaniel Balutasnd-sof-of-objs := sof-of-dev.o
25b9132b89SDaniel Baluta
266e9548cdSRanjani Sridharansnd-sof-ipc-flood-test-objs := sof-client-ipc-flood-test.o
27cac0b088SPeter Ujfalusisnd-sof-ipc-msg-injector-objs := sof-client-ipc-msg-injector.o
283dc0d709SPeter Ujfalusisnd-sof-probes-objs := sof-client-probes.o
296e9548cdSRanjani Sridharan
307e978fa3SLiam Girdwoodsnd-sof-nocodec-objs := nocodec.o
317e978fa3SLiam Girdwood
32ee844305SPeter Ujfalusisnd-sof-utils-objs := sof-utils.o
33ee844305SPeter Ujfalusi
347e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
357e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
367e978fa3SLiam Girdwood
37ee844305SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF) += snd-sof-utils.o
387e978fa3SLiam Girdwood
398a49cd11SArnd Bergmannobj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o
407548a391SPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_OF_DEV) += snd-sof-of.o
418d4ba1beSPierre-Louis Bossartobj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o
427e978fa3SLiam Girdwood
436e9548cdSRanjani Sridharanobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o
44cac0b088SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc-msg-injector.o
453dc0d709SPeter Ujfalusiobj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o
466e9548cdSRanjani Sridharan
477e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
48202acc56SDaniel Balutaobj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
49846aef1dSAjit Kumar Pandeyobj-$(CONFIG_SND_SOC_SOF_AMD_TOPLEVEL) += amd/
507e978fa3SLiam Girdwoodobj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
5132d7e03dSYC Hungobj-$(CONFIG_SND_SOC_SOF_MTK_TOPLEVEL) += mediatek/
52