1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 3 snd-sof-y := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ 4 control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o\ 5 fw-file-profile.o 6 7 # IPC implementations 8 ifneq ($(CONFIG_SND_SOC_SOF_IPC3),) 9 snd-sof-y += ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\ 10 ipc3-dtrace.o 11 endif 12 ifneq ($(CONFIG_SND_SOC_SOF_IPC4),) 13 snd-sof-y += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\ 14 ipc4-mtrace.o ipc4-telemetry.o 15 endif 16 17 # SOF client support 18 ifneq ($(CONFIG_SND_SOC_SOF_CLIENT),) 19 snd-sof-y += sof-client.o 20 endif 21 22 snd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o 23 24 snd-sof-pci-y := sof-pci-dev.o 25 snd-sof-acpi-y := sof-acpi-dev.o 26 snd-sof-of-y := sof-of-dev.o 27 28 snd-sof-ipc-flood-test-y := sof-client-ipc-flood-test.o 29 snd-sof-ipc-msg-injector-y := sof-client-ipc-msg-injector.o 30 snd-sof-ipc-kernel-injector-y := sof-client-ipc-kernel-injector.o 31 snd-sof-probes-y := sof-client-probes.o 32 ifneq ($(CONFIG_SND_SOC_SOF_IPC3),) 33 snd-sof-probes-y += sof-client-probes-ipc3.o 34 endif 35 ifneq ($(CONFIG_SND_SOC_SOF_IPC4),) 36 snd-sof-probes-y += sof-client-probes-ipc4.o 37 endif 38 39 snd-sof-nocodec-y := nocodec.o 40 41 snd-sof-utils-y := sof-utils.o 42 43 obj-$(CONFIG_SND_SOC_SOF) += snd-sof.o 44 obj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o 45 46 obj-$(CONFIG_SND_SOC_SOF) += snd-sof-utils.o 47 48 obj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o 49 obj-$(CONFIG_SND_SOC_SOF_OF_DEV) += snd-sof-of.o 50 obj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o 51 52 obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o 53 obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc-msg-injector.o 54 obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_KERNEL_INJECTOR) += snd-sof-ipc-kernel-injector.o 55 obj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o 56 57 obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/ 58 obj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/ 59 obj-$(CONFIG_SND_SOC_SOF_AMD_TOPLEVEL) += amd/ 60 obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/ 61 obj-$(CONFIG_SND_SOC_SOF_MTK_TOPLEVEL) += mediatek/
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.