1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2
3snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
4		control.o trace.o utils.o sof-audio.o
5snd-sof-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += probe.o compress.o
6
7snd-sof-pci-objs := sof-pci-dev.o
8snd-sof-acpi-objs := sof-acpi-dev.o
9snd-sof-of-objs := sof-of-dev.o
10
11snd-sof-nocodec-objs := nocodec.o
12
13obj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
14obj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
15
16
17obj-$(CONFIG_SND_SOC_SOF_ACPI) += snd-sof-acpi.o
18obj-$(CONFIG_SND_SOC_SOF_OF) += snd-sof-of.o
19obj-$(CONFIG_SND_SOC_SOF_PCI) += snd-sof-pci.o
20
21obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
22obj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
23obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
24