xref: /openbmc/linux/sound/soc/Makefile (revision 51bc620b)
1# SPDX-License-Identifier: GPL-2.0
2snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-utils.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)	+= nuc900/
43obj-$(CONFIG_SND_SOC)	+= kirkwood/
44obj-$(CONFIG_SND_SOC)	+= pxa/
45obj-$(CONFIG_SND_SOC)	+= qcom/
46obj-$(CONFIG_SND_SOC)	+= rockchip/
47obj-$(CONFIG_SND_SOC)	+= samsung/
48obj-$(CONFIG_SND_SOC)	+= sh/
49obj-$(CONFIG_SND_SOC)	+= sirf/
50obj-$(CONFIG_SND_SOC)	+= sof/
51obj-$(CONFIG_SND_SOC)	+= spear/
52obj-$(CONFIG_SND_SOC)	+= sprd/
53obj-$(CONFIG_SND_SOC)	+= sti/
54obj-$(CONFIG_SND_SOC)	+= stm/
55obj-$(CONFIG_SND_SOC)	+= sunxi/
56obj-$(CONFIG_SND_SOC)	+= tegra/
57obj-$(CONFIG_SND_SOC)	+= ti/
58obj-$(CONFIG_SND_SOC)	+= txx9/
59obj-$(CONFIG_SND_SOC)	+= uniphier/
60obj-$(CONFIG_SND_SOC)	+= ux500/
61obj-$(CONFIG_SND_SOC)	+= xilinx/
62obj-$(CONFIG_SND_SOC)	+= xtensa/
63obj-$(CONFIG_SND_SOC)	+= zte/
64