1# SPDX-License-Identifier: GPL-2.0
2snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-utils.o soc-dai.o soc-component.o
3snd-soc-core-objs += soc-pcm.o soc-devres.o soc-ops.o soc-link.o soc-card.o
4snd-soc-core-$(CONFIG_SND_SOC_COMPRESS) += soc-compress.o
5
6ifneq ($(CONFIG_SND_SOC_TOPOLOGY),)
7snd-soc-core-objs += soc-topology.o
8endif
9
10ifneq ($(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST),)
11# snd-soc-test-objs := soc-topology-test.o
12obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) += soc-topology-test.o
13endif
14
15ifneq ($(CONFIG_SND_SOC_UTILS_KUNIT_TEST),)
16# snd-soc-test-objs := soc-utils-test.o
17obj-$(CONFIG_SND_SOC_UTILS_KUNIT_TEST) += soc-utils-test.o
18endif
19
20ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),)
21snd-soc-core-objs += soc-generic-dmaengine-pcm.o
22endif
23
24ifneq ($(CONFIG_SND_SOC_AC97_BUS),)
25snd-soc-core-objs += soc-ac97.o
26endif
27
28ifneq ($(CONFIG_SND_SOC_ACPI),)
29snd-soc-acpi-objs := soc-acpi.o
30endif
31
32obj-$(CONFIG_SND_SOC_ACPI) += snd-soc-acpi.o
33
34obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
35obj-$(CONFIG_SND_SOC)	+= codecs/
36obj-$(CONFIG_SND_SOC)	+= generic/
37obj-$(CONFIG_SND_SOC)	+= apple/
38obj-$(CONFIG_SND_SOC)	+= adi/
39obj-$(CONFIG_SND_SOC)	+= amd/
40obj-$(CONFIG_SND_SOC)	+= atmel/
41obj-$(CONFIG_SND_SOC)	+= au1x/
42obj-$(CONFIG_SND_SOC)	+= bcm/
43obj-$(CONFIG_SND_SOC)	+= cirrus/
44obj-$(CONFIG_SND_SOC)	+= dwc/
45obj-$(CONFIG_SND_SOC)	+= fsl/
46obj-$(CONFIG_SND_SOC)	+= google/
47obj-$(CONFIG_SND_SOC)	+= hisilicon/
48obj-$(CONFIG_SND_SOC)	+= jz4740/
49obj-$(CONFIG_SND_SOC)	+= loongson/
50obj-$(CONFIG_SND_SOC)	+= img/
51obj-$(CONFIG_SND_SOC)	+= intel/
52obj-$(CONFIG_SND_SOC)	+= mediatek/
53obj-$(CONFIG_SND_SOC)	+= meson/
54obj-$(CONFIG_SND_SOC)	+= mxs/
55obj-$(CONFIG_SND_SOC)	+= kirkwood/
56obj-$(CONFIG_SND_SOC)	+= pxa/
57obj-$(CONFIG_SND_SOC)	+= qcom/
58obj-$(CONFIG_SND_SOC)	+= rockchip/
59obj-$(CONFIG_SND_SOC)	+= samsung/
60obj-$(CONFIG_SND_SOC)	+= sh/
61obj-$(CONFIG_SND_SOC)	+= sof/
62obj-$(CONFIG_SND_SOC)	+= spear/
63obj-$(CONFIG_SND_SOC)	+= sprd/
64obj-$(CONFIG_SND_SOC)	+= starfive/
65obj-$(CONFIG_SND_SOC)	+= sti/
66obj-$(CONFIG_SND_SOC)	+= stm/
67obj-$(CONFIG_SND_SOC)	+= sunxi/
68obj-$(CONFIG_SND_SOC)	+= tegra/
69obj-$(CONFIG_SND_SOC)	+= ti/
70obj-$(CONFIG_SND_SOC)	+= uniphier/
71obj-$(CONFIG_SND_SOC)	+= ux500/
72obj-$(CONFIG_SND_SOC)	+= xilinx/
73obj-$(CONFIG_SND_SOC)	+= xtensa/
74