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