xref: /linux/sound/hda/core/Makefile (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1# SPDX-License-Identifier: GPL-2.0
2snd-hda-core-y := hda_bus_type.o bus.o device.o sysfs.o \
3	regmap.o controller.o stream.o array.o hdmi_chmap.o
4
5snd-hda-core-y += trace.o
6CFLAGS_trace.o := -I$(src)
7
8# for sync with i915 gfx driver
9snd-hda-core-$(CONFIG_SND_HDA_COMPONENT) += component.o
10snd-hda-core-$(CONFIG_SND_HDA_I915) += i915.o
11
12obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
13
14#extended hda
15obj-$(CONFIG_SND_HDA_EXT_CORE) += ext/
16
17snd-intel-dspcfg-y := intel-dsp-config.o
18snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
19obj-$(CONFIG_SND_INTEL_DSP_CONFIG) += snd-intel-dspcfg.o
20
21snd-intel-sdw-acpi-y := intel-sdw-acpi.o
22obj-$(CONFIG_SND_INTEL_SOUNDWIRE_ACPI) += snd-intel-sdw-acpi.o
23