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