xref: /linux/sound/soc/amd/acp/Makefile (revision 8e1bb4a41aa78d6105e59186af3dcd545fc66e70)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2# This file is provided under a dual BSD/GPLv2 license. When using or
3# redistributing this file, you may do so under either license.
4#
5# Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
6
7#common acp driver
8snd-acp-pcm-y     := acp-platform.o
9snd-acp-i2s-y     := acp-i2s.o
10snd-acp-pdm-y     := acp-pdm.o
11snd-acp-legacy-common-y   := acp-legacy-common.o
12snd-acp-pci-y     := acp-pci.o
13snd-amd-sdw-acpi-y := amd-sdw-acpi.o
14
15#platform specific driver
16snd-acp-renoir-y     := acp-renoir.o
17snd-acp-rembrandt-y  := acp-rembrandt.o
18snd-acp63-y := acp63.o
19snd-acp70-y := acp70.o
20
21#machine specific driver
22snd-acp-mach-y     := acp-mach-common.o
23snd-acp-legacy-mach-y     := acp-legacy-mach.o acp3x-es83xx/acp3x-es83xx.o
24snd-acp-sof-mach-y     := acp-sof-mach.o
25
26obj-$(CONFIG_SND_SOC_AMD_ACP_PCM) += snd-acp-pcm.o
27obj-$(CONFIG_SND_SOC_AMD_ACP_I2S) += snd-acp-i2s.o
28obj-$(CONFIG_SND_SOC_AMD_ACP_PDM) += snd-acp-pdm.o
29obj-$(CONFIG_SND_SOC_AMD_ACP_LEGACY_COMMON) += snd-acp-legacy-common.o
30obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o
31
32obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o
33obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o
34obj-$(CONFIG_SND_AMD_ASOC_ACP63) += snd-acp63.o
35obj-$(CONFIG_SND_AMD_ASOC_ACP70) += snd-acp70.o
36
37obj-$(CONFIG_SND_AMD_SOUNDWIRE_ACPI) += snd-amd-sdw-acpi.o
38obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
39obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
40obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
41