1# SPDX-License-Identifier: GPL-2.0 2snd-soc-core-y := soc-core.o soc-dapm.o soc-jack.o soc-utils.o soc-dai.o soc-component.o 3snd-soc-core-y += 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-y += soc-topology.o 8endif 9 10ifneq ($(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST),) 11# snd-soc-test-y := soc-topology-test.o 12obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) += soc-topology-test.o 13endif 14 15ifneq ($(CONFIG_SND_SOC_CARD_KUNIT_TEST),) 16obj-$(CONFIG_SND_SOC_CARD_KUNIT_TEST) += soc-card-test.o 17endif 18 19ifneq ($(CONFIG_SND_SOC_UTILS_KUNIT_TEST),) 20# snd-soc-test-y := soc-utils-test.o 21obj-$(CONFIG_SND_SOC_UTILS_KUNIT_TEST) += soc-utils-test.o 22endif 23 24ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),) 25snd-soc-core-y += soc-generic-dmaengine-pcm.o 26endif 27 28ifneq ($(CONFIG_SND_SOC_AC97_BUS),) 29snd-soc-core-y += soc-ac97.o 30endif 31 32ifneq ($(CONFIG_SND_SOC_ACPI),) 33snd-soc-acpi-y := soc-acpi.o 34endif 35 36obj-$(CONFIG_SND_SOC_ACPI) += snd-soc-acpi.o 37 38obj-$(CONFIG_SND_SOC) += snd-soc-core.o 39obj-$(CONFIG_SND_SOC) += codecs/ 40obj-$(CONFIG_SND_SOC) += generic/ 41obj-$(CONFIG_SND_SOC) += apple/ 42obj-$(CONFIG_SND_SOC) += adi/ 43obj-$(CONFIG_SND_SOC) += amd/ 44obj-$(CONFIG_SND_SOC) += atmel/ 45obj-$(CONFIG_SND_SOC) += au1x/ 46obj-$(CONFIG_SND_SOC) += bcm/ 47obj-$(CONFIG_SND_SOC) += cirrus/ 48obj-$(CONFIG_SND_SOC) += dwc/ 49obj-$(CONFIG_SND_SOC) += fsl/ 50obj-$(CONFIG_SND_SOC) += google/ 51obj-$(CONFIG_SND_SOC) += hisilicon/ 52obj-$(CONFIG_SND_SOC) += jz4740/ 53obj-$(CONFIG_SND_SOC) += loongson/ 54obj-$(CONFIG_SND_SOC) += img/ 55obj-$(CONFIG_SND_SOC) += intel/ 56obj-$(CONFIG_SND_SOC) += mediatek/ 57obj-$(CONFIG_SND_SOC) += meson/ 58obj-$(CONFIG_SND_SOC) += mxs/ 59obj-$(CONFIG_SND_SOC) += kirkwood/ 60obj-$(CONFIG_SND_SOC) += pxa/ 61obj-$(CONFIG_SND_SOC) += qcom/ 62obj-$(CONFIG_SND_SOC) += rockchip/ 63obj-$(CONFIG_SND_SOC) += samsung/ 64obj-$(CONFIG_SND_SOC) += sh/ 65obj-$(CONFIG_SND_SOC) += sof/ 66obj-$(CONFIG_SND_SOC) += spear/ 67obj-$(CONFIG_SND_SOC) += sprd/ 68obj-$(CONFIG_SND_SOC) += starfive/ 69obj-$(CONFIG_SND_SOC) += sti/ 70obj-$(CONFIG_SND_SOC) += stm/ 71obj-$(CONFIG_SND_SOC) += sunxi/ 72obj-$(CONFIG_SND_SOC) += tegra/ 73obj-$(CONFIG_SND_SOC) += ti/ 74obj-$(CONFIG_SND_SOC) += uniphier/ 75obj-$(CONFIG_SND_SOC) += ux500/ 76obj-$(CONFIG_SND_SOC) += xilinx/ 77obj-$(CONFIG_SND_SOC) += xtensa/ 78