xref: /openbmc/linux/sound/soc/Makefile (revision 234489ac)
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)	+= hisilicon/
47obj-$(CONFIG_SND_SOC)	+= jz4740/
48obj-$(CONFIG_SND_SOC)	+= img/
49obj-$(CONFIG_SND_SOC)	+= intel/
50obj-$(CONFIG_SND_SOC)	+= mediatek/
51obj-$(CONFIG_SND_SOC)	+= meson/
52obj-$(CONFIG_SND_SOC)	+= mxs/
53obj-$(CONFIG_SND_SOC)	+= kirkwood/
54obj-$(CONFIG_SND_SOC)	+= pxa/
55obj-$(CONFIG_SND_SOC)	+= qcom/
56obj-$(CONFIG_SND_SOC)	+= rockchip/
57obj-$(CONFIG_SND_SOC)	+= samsung/
58obj-$(CONFIG_SND_SOC)	+= sh/
59obj-$(CONFIG_SND_SOC)	+= sof/
60obj-$(CONFIG_SND_SOC)	+= spear/
61obj-$(CONFIG_SND_SOC)	+= sprd/
62obj-$(CONFIG_SND_SOC)	+= sti/
63obj-$(CONFIG_SND_SOC)	+= stm/
64obj-$(CONFIG_SND_SOC)	+= sunxi/
65obj-$(CONFIG_SND_SOC)	+= tegra/
66obj-$(CONFIG_SND_SOC)	+= ti/
67obj-$(CONFIG_SND_SOC)	+= uniphier/
68obj-$(CONFIG_SND_SOC)	+= ux500/
69obj-$(CONFIG_SND_SOC)	+= xilinx/
70obj-$(CONFIG_SND_SOC)	+= xtensa/
71