xref: /openbmc/linux/sound/soc/sof/amd/Makefile (revision 6fa24b41)
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, 2023 Advanced Micro Devices, Inc. All rights reserved.
6
7snd-sof-amd-acp-objs := acp.o acp-loader.o acp-ipc.o acp-pcm.o acp-stream.o acp-trace.o acp-common.o
8snd-sof-amd-acp-$(CONFIG_SND_SOC_SOF_ACP_PROBES) = acp-probes.o
9snd-sof-amd-renoir-objs := pci-rn.o renoir.o
10snd-sof-amd-rembrandt-objs := pci-rmb.o rembrandt.o
11snd-sof-amd-vangogh-objs := pci-vangogh.o vangogh.o
12
13obj-$(CONFIG_SND_SOC_SOF_AMD_COMMON) += snd-sof-amd-acp.o
14obj-$(CONFIG_SND_SOC_SOF_AMD_RENOIR) +=snd-sof-amd-renoir.o
15obj-$(CONFIG_SND_SOC_SOF_AMD_REMBRANDT) +=snd-sof-amd-rembrandt.o
16obj-$(CONFIG_SND_SOC_SOF_AMD_VANGOGH) +=snd-sof-amd-vangogh.o
17