2020-05-01 17:58:50 +03:00
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2019-04-12 19:09:02 +03:00
snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
2022-06-14 10:56:17 +03:00
control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o
# IPC implementations
i f n e q ( $( CONFIG_SND_SOC_SOF_IPC 3) , )
snd-sof-objs += ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
ipc3-dtrace.o
e n d i f
i f n e q ( $( CONFIG_SND_SOC_SOF_INTEL_IPC 4) , )
2022-09-09 14:43:30 +03:00
snd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
ipc4-mtrace.o
2022-06-14 10:56:17 +03:00
e n d i f
# SOF client support
2022-02-14 10:13:30 +03:00
i f n e q ( $( CONFIG_SND_SOC_SOF_CLIENT ) , )
snd-sof-objs += sof-client.o
e n d i f
2021-09-16 13:32:09 +03:00
2021-10-04 18:21:47 +03:00
snd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o
2019-04-12 19:09:02 +03:00
snd-sof-pci-objs := sof-pci-dev.o
snd-sof-acpi-objs := sof-acpi-dev.o
2019-08-21 19:47:29 +03:00
snd-sof-of-objs := sof-of-dev.o
2022-02-10 18:05:23 +03:00
snd-sof-ipc-flood-test-objs := sof-client-ipc-flood-test.o
2022-02-10 18:05:24 +03:00
snd-sof-ipc-msg-injector-objs := sof-client-ipc-msg-injector.o
2022-10-31 13:51:41 +03:00
snd-sof-probes-objs := sof-client-probes.o
i f n e q ( $( CONFIG_SND_SOC_SOF_IPC 3) , )
snd-sof-probes-objs += sof-client-probes-ipc3.o
e n d i f
i f n e q ( $( CONFIG_SND_SOC_SOF_INTEL_IPC 4) , )
snd-sof-probes-objs += sof-client-probes-ipc4.o
e n d i f
2022-02-10 18:05:23 +03:00
2019-04-12 19:09:02 +03:00
snd-sof-nocodec-objs := nocodec.o
2022-02-10 18:05:20 +03:00
snd-sof-utils-objs := sof-utils.o
2019-04-12 19:09:02 +03:00
obj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
obj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
2022-02-10 18:05:20 +03:00
obj-$(CONFIG_SND_SOC_SOF) += snd-sof-utils.o
2019-04-12 19:09:02 +03:00
2021-03-02 03:31:20 +03:00
obj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o
2021-11-16 15:41:31 +03:00
obj-$(CONFIG_SND_SOC_SOF_OF_DEV) += snd-sof-of.o
2021-03-02 03:31:21 +03:00
obj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o
2019-04-12 19:09:02 +03:00
2022-02-10 18:05:23 +03:00
obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST) += snd-sof-ipc-flood-test.o
2022-02-10 18:05:24 +03:00
obj-$(CONFIG_SND_SOC_SOF_DEBUG_IPC_MSG_INJECTOR) += snd-sof-ipc-msg-injector.o
2022-02-10 18:05:25 +03:00
obj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o
2022-02-10 18:05:23 +03:00
2019-04-12 19:09:02 +03:00
obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
2019-08-21 19:47:30 +03:00
obj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
2021-11-17 12:37:14 +03:00
obj-$(CONFIG_SND_SOC_SOF_AMD_TOPLEVEL) += amd/
2019-04-12 19:09:02 +03:00
obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
2021-11-18 13:07:42 +03:00
obj-$(CONFIG_SND_SOC_SOF_MTK_TOPLEVEL) += mediatek/