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