xref: /openbmc/linux/sound/soc/amd/acp/Makefile (revision 2cf1c348)
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-objs     := acp-platform.o
9snd-acp-i2s-objs     := acp-i2s.o
10
11#platform specific driver
12snd-acp-renoir-objs     := acp-renoir.o
13
14#machine specific driver
15snd-acp-mach-objs     := acp-mach-common.o
16snd-acp-legacy-mach-objs     := acp-legacy-mach.o
17snd-acp-sof-mach-objs     := acp-sof-mach.o
18
19obj-$(CONFIG_SND_SOC_AMD_ACP_PCM) += snd-acp-pcm.o
20obj-$(CONFIG_SND_SOC_AMD_ACP_I2S) += snd-acp-i2s.o
21
22obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o
23
24obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
25obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
26obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
27