Merge tag 'kbuild-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[platform/kernel/linux-starfive.git] / sound / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for the Linux sound card driver
3 #
4
5 obj-$(CONFIG_SOUND) += soundcore.o
6 obj-$(CONFIG_DMASOUND) += oss/dmasound/
7 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
8         firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ \
9         virtio/
10 obj-$(CONFIG_SND_AOA) += aoa/
11
12 # This one must be compilable even if sound is configured out
13 obj-$(CONFIG_AC97_BUS) += ac97_bus.o
14 obj-$(CONFIG_AC97_BUS_NEW) += ac97/
15
16 ifeq ($(CONFIG_SND),y)
17   obj-y += last.o
18 endif
19
20 soundcore-objs  := sound_core.o