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