xref: /openbmc/linux/sound/soc/Makefile (revision ba61bb17)
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)	+= davinci/
34obj-$(CONFIG_SND_SOC)	+= dwc/
35obj-$(CONFIG_SND_SOC)	+= fsl/
36obj-$(CONFIG_SND_SOC)	+= hisilicon/
37obj-$(CONFIG_SND_SOC)	+= jz4740/
38obj-$(CONFIG_SND_SOC)	+= img/
39obj-$(CONFIG_SND_SOC)	+= intel/
40obj-$(CONFIG_SND_SOC)	+= mediatek/
41obj-$(CONFIG_SND_SOC)	+= mxs/
42obj-$(CONFIG_SND_SOC)	+= nuc900/
43obj-$(CONFIG_SND_SOC)	+= omap/
44obj-$(CONFIG_SND_SOC)	+= kirkwood/
45obj-$(CONFIG_SND_SOC)	+= pxa/
46obj-$(CONFIG_SND_SOC)	+= qcom/
47obj-$(CONFIG_SND_SOC)	+= rockchip/
48obj-$(CONFIG_SND_SOC)	+= samsung/
49obj-$(CONFIG_SND_SOC)	+= sh/
50obj-$(CONFIG_SND_SOC)	+= sirf/
51obj-$(CONFIG_SND_SOC)	+= spear/
52obj-$(CONFIG_SND_SOC)	+= sti/
53obj-$(CONFIG_SND_SOC)	+= stm/
54obj-$(CONFIG_SND_SOC)	+= sunxi/
55obj-$(CONFIG_SND_SOC)	+= tegra/
56obj-$(CONFIG_SND_SOC)	+= txx9/
57obj-$(CONFIG_SND_SOC)	+= uniphier/
58obj-$(CONFIG_SND_SOC)	+= ux500/
59obj-$(CONFIG_SND_SOC)	+= xtensa/
60obj-$(CONFIG_SND_SOC)	+= zte/
61