Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[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)   += apple/
38 obj-$(CONFIG_SND_SOC)   += adi/
39 obj-$(CONFIG_SND_SOC)   += amd/
40 obj-$(CONFIG_SND_SOC)   += atmel/
41 obj-$(CONFIG_SND_SOC)   += au1x/
42 obj-$(CONFIG_SND_SOC)   += bcm/
43 obj-$(CONFIG_SND_SOC)   += cirrus/
44 obj-$(CONFIG_SND_SOC)   += dwc/
45 obj-$(CONFIG_SND_SOC)   += fsl/
46 obj-$(CONFIG_SND_SOC)   += hisilicon/
47 obj-$(CONFIG_SND_SOC)   += jz4740/
48 obj-$(CONFIG_SND_SOC)   += img/
49 obj-$(CONFIG_SND_SOC)   += intel/
50 obj-$(CONFIG_SND_SOC)   += mediatek/
51 obj-$(CONFIG_SND_SOC)   += meson/
52 obj-$(CONFIG_SND_SOC)   += mxs/
53 obj-$(CONFIG_SND_SOC)   += kirkwood/
54 obj-$(CONFIG_SND_SOC)   += pxa/
55 obj-$(CONFIG_SND_SOC)   += qcom/
56 obj-$(CONFIG_SND_SOC)   += rockchip/
57 obj-$(CONFIG_SND_SOC)   += samsung/
58 obj-$(CONFIG_SND_SOC)   += sh/
59 obj-$(CONFIG_SND_SOC)   += sof/
60 obj-$(CONFIG_SND_SOC)   += spear/
61 obj-$(CONFIG_SND_SOC)   += sprd/
62 obj-$(CONFIG_SND_SOC)   += sti/
63 obj-$(CONFIG_SND_SOC)   += stm/
64 obj-$(CONFIG_SND_SOC)   += sunxi/
65 obj-$(CONFIG_SND_SOC)   += tegra/
66 obj-$(CONFIG_SND_SOC)   += ti/
67 obj-$(CONFIG_SND_SOC)   += uniphier/
68 obj-$(CONFIG_SND_SOC)   += ux500/
69 obj-$(CONFIG_SND_SOC)   += xilinx/
70 obj-$(CONFIG_SND_SOC)   += xtensa/