Linux 5.13-rc1
[sfrench/cifs-2.6.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_GENERIC_DMAENGINE_PCM),)
16 snd-soc-core-objs += soc-generic-dmaengine-pcm.o
17 endif
18
19 ifneq ($(CONFIG_SND_SOC_AC97_BUS),)
20 snd-soc-core-objs += soc-ac97.o
21 endif
22
23 ifneq ($(CONFIG_SND_SOC_ACPI),)
24 snd-soc-acpi-objs := soc-acpi.o
25 endif
26
27 obj-$(CONFIG_SND_SOC_ACPI) += snd-soc-acpi.o
28
29 obj-$(CONFIG_SND_SOC)   += snd-soc-core.o
30 obj-$(CONFIG_SND_SOC)   += codecs/
31 obj-$(CONFIG_SND_SOC)   += generic/
32 obj-$(CONFIG_SND_SOC)   += adi/
33 obj-$(CONFIG_SND_SOC)   += amd/
34 obj-$(CONFIG_SND_SOC)   += atmel/
35 obj-$(CONFIG_SND_SOC)   += au1x/
36 obj-$(CONFIG_SND_SOC)   += bcm/
37 obj-$(CONFIG_SND_SOC)   += cirrus/
38 obj-$(CONFIG_SND_SOC)   += dwc/
39 obj-$(CONFIG_SND_SOC)   += fsl/
40 obj-$(CONFIG_SND_SOC)   += hisilicon/
41 obj-$(CONFIG_SND_SOC)   += jz4740/
42 obj-$(CONFIG_SND_SOC)   += img/
43 obj-$(CONFIG_SND_SOC)   += intel/
44 obj-$(CONFIG_SND_SOC)   += mediatek/
45 obj-$(CONFIG_SND_SOC)   += meson/
46 obj-$(CONFIG_SND_SOC)   += mxs/
47 obj-$(CONFIG_SND_SOC)   += kirkwood/
48 obj-$(CONFIG_SND_SOC)   += pxa/
49 obj-$(CONFIG_SND_SOC)   += qcom/
50 obj-$(CONFIG_SND_SOC)   += rockchip/
51 obj-$(CONFIG_SND_SOC)   += samsung/
52 obj-$(CONFIG_SND_SOC)   += sh/
53 obj-$(CONFIG_SND_SOC)   += sof/
54 obj-$(CONFIG_SND_SOC)   += spear/
55 obj-$(CONFIG_SND_SOC)   += sprd/
56 obj-$(CONFIG_SND_SOC)   += sti/
57 obj-$(CONFIG_SND_SOC)   += stm/
58 obj-$(CONFIG_SND_SOC)   += sunxi/
59 obj-$(CONFIG_SND_SOC)   += tegra/
60 obj-$(CONFIG_SND_SOC)   += ti/
61 obj-$(CONFIG_SND_SOC)   += uniphier/
62 obj-$(CONFIG_SND_SOC)   += ux500/
63 obj-$(CONFIG_SND_SOC)   += xilinx/
64 obj-$(CONFIG_SND_SOC)   += xtensa/