forked from Minki/linux
8d4ba1be3d
Move PCI IDs and device-specific definitions out of common code. No functionality change for now, just code split and removal of IF_ENABLED() which made the configurations too complicated in case of reuse of IP across generations. Additional changes to address the DSP_CONFIG case and SoundWire depends/select confusions are provided in follow-up patches. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Bard Liao <bard.liao@intel.com> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210302003125.1178419-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
24 lines
766 B
Makefile
24 lines
766 B
Makefile
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
|
|
|
|
snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
|
|
control.o trace.o utils.o sof-audio.o
|
|
snd-sof-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += probe.o compress.o
|
|
|
|
snd-sof-pci-objs := sof-pci-dev.o
|
|
snd-sof-acpi-objs := sof-acpi-dev.o
|
|
snd-sof-of-objs := sof-of-dev.o
|
|
|
|
snd-sof-nocodec-objs := nocodec.o
|
|
|
|
obj-$(CONFIG_SND_SOC_SOF) += snd-sof.o
|
|
obj-$(CONFIG_SND_SOC_SOF_NOCODEC) += snd-sof-nocodec.o
|
|
|
|
|
|
obj-$(CONFIG_SND_SOC_SOF_ACPI_DEV) += snd-sof-acpi.o
|
|
obj-$(CONFIG_SND_SOC_SOF_OF) += snd-sof-of.o
|
|
obj-$(CONFIG_SND_SOC_SOF_PCI_DEV) += snd-sof-pci.o
|
|
|
|
obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
|
|
obj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
|
|
obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
|