Makefile (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) Makefile (e8a33a94078560df73761f6d6147a25bda07605c)
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
10snd-acp-pdm-objs := acp-pdm.o
11snd-acp-pci-objs := acp-pci.o
12
13#platform specific driver
14snd-acp-renoir-objs := acp-renoir.o
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
10snd-acp-pdm-objs := acp-pdm.o
11snd-acp-pci-objs := acp-pci.o
12
13#platform specific driver
14snd-acp-renoir-objs := acp-renoir.o
15snd-acp-rembrandt-objs := acp-rembrandt.o
15
16#machine specific driver
17snd-acp-mach-objs := acp-mach-common.o
18snd-acp-legacy-mach-objs := acp-legacy-mach.o
19snd-acp-sof-mach-objs := acp-sof-mach.o
20
21obj-$(CONFIG_SND_SOC_AMD_ACP_PCM) += snd-acp-pcm.o
22obj-$(CONFIG_SND_SOC_AMD_ACP_I2S) += snd-acp-i2s.o
23obj-$(CONFIG_SND_SOC_AMD_ACP_PDM) += snd-acp-pdm.o
24obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o
25
26obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o
16
17#machine specific driver
18snd-acp-mach-objs := acp-mach-common.o
19snd-acp-legacy-mach-objs := acp-legacy-mach.o
20snd-acp-sof-mach-objs := acp-sof-mach.o
21
22obj-$(CONFIG_SND_SOC_AMD_ACP_PCM) += snd-acp-pcm.o
23obj-$(CONFIG_SND_SOC_AMD_ACP_I2S) += snd-acp-i2s.o
24obj-$(CONFIG_SND_SOC_AMD_ACP_PDM) += snd-acp-pdm.o
25obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o
26
27obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o
28obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o
27
28obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
29obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
30obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o
29
30obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
31obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o
32obj-$(CONFIG_SND_SOC_AMD_SOF_MACH) += snd-acp-sof-mach.o