xref: /linux/sound/soc/Makefile (revision 9a379e77033f02c4a071891afdf0f0a01eff8ccb)
1# SPDX-License-Identifier: GPL-2.0
2snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.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)	+= blackfin/
33obj-$(CONFIG_SND_SOC)	+= cirrus/
34obj-$(CONFIG_SND_SOC)	+= davinci/
35obj-$(CONFIG_SND_SOC)	+= dwc/
36obj-$(CONFIG_SND_SOC)	+= fsl/
37obj-$(CONFIG_SND_SOC)	+= hisilicon/
38obj-$(CONFIG_SND_SOC)	+= jz4740/
39obj-$(CONFIG_SND_SOC)	+= img/
40obj-$(CONFIG_SND_SOC)	+= intel/
41obj-$(CONFIG_SND_SOC)	+= mediatek/
42obj-$(CONFIG_SND_SOC)	+= mxs/
43obj-$(CONFIG_SND_SOC)	+= nuc900/
44obj-$(CONFIG_SND_SOC)	+= omap/
45obj-$(CONFIG_SND_SOC)	+= kirkwood/
46obj-$(CONFIG_SND_SOC)	+= pxa/
47obj-$(CONFIG_SND_SOC)	+= qcom/
48obj-$(CONFIG_SND_SOC)	+= rockchip/
49obj-$(CONFIG_SND_SOC)	+= samsung/
50obj-$(CONFIG_SND_SOC)	+= sh/
51obj-$(CONFIG_SND_SOC)	+= sirf/
52obj-$(CONFIG_SND_SOC)	+= spear/
53obj-$(CONFIG_SND_SOC)	+= sti/
54obj-$(CONFIG_SND_SOC)	+= stm/
55obj-$(CONFIG_SND_SOC)	+= sunxi/
56obj-$(CONFIG_SND_SOC)	+= tegra/
57obj-$(CONFIG_SND_SOC)	+= txx9/
58obj-$(CONFIG_SND_SOC)	+= uniphier/
59obj-$(CONFIG_SND_SOC)	+= ux500/
60obj-$(CONFIG_SND_SOC)	+= xtensa/
61obj-$(CONFIG_SND_SOC)	+= zte/
62