xref: /openbmc/linux/sound/soc/Makefile (revision f5d39b02)
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)	+= adi/
38obj-$(CONFIG_SND_SOC)	+= amd/
39obj-$(CONFIG_SND_SOC)	+= atmel/
40obj-$(CONFIG_SND_SOC)	+= au1x/
41obj-$(CONFIG_SND_SOC)	+= bcm/
42obj-$(CONFIG_SND_SOC)	+= cirrus/
43obj-$(CONFIG_SND_SOC)	+= dwc/
44obj-$(CONFIG_SND_SOC)	+= fsl/
45obj-$(CONFIG_SND_SOC)	+= hisilicon/
46obj-$(CONFIG_SND_SOC)	+= jz4740/
47obj-$(CONFIG_SND_SOC)	+= img/
48obj-$(CONFIG_SND_SOC)	+= intel/
49obj-$(CONFIG_SND_SOC)	+= mediatek/
50obj-$(CONFIG_SND_SOC)	+= meson/
51obj-$(CONFIG_SND_SOC)	+= mxs/
52obj-$(CONFIG_SND_SOC)	+= kirkwood/
53obj-$(CONFIG_SND_SOC)	+= pxa/
54obj-$(CONFIG_SND_SOC)	+= qcom/
55obj-$(CONFIG_SND_SOC)	+= rockchip/
56obj-$(CONFIG_SND_SOC)	+= samsung/
57obj-$(CONFIG_SND_SOC)	+= sh/
58obj-$(CONFIG_SND_SOC)	+= sof/
59obj-$(CONFIG_SND_SOC)	+= spear/
60obj-$(CONFIG_SND_SOC)	+= sprd/
61obj-$(CONFIG_SND_SOC)	+= sti/
62obj-$(CONFIG_SND_SOC)	+= stm/
63obj-$(CONFIG_SND_SOC)	+= sunxi/
64obj-$(CONFIG_SND_SOC)	+= tegra/
65obj-$(CONFIG_SND_SOC)	+= ti/
66obj-$(CONFIG_SND_SOC)	+= uniphier/
67obj-$(CONFIG_SND_SOC)	+= ux500/
68obj-$(CONFIG_SND_SOC)	+= xilinx/
69obj-$(CONFIG_SND_SOC)	+= xtensa/
70