Merge branch 'linux-4.18' of git://github.com/skeggsb/linux into drm-fixes
[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 obj-$(CONFIG_SND_AOA) += aoa/
10
11 # This one must be compilable even if sound is configured out
12 obj-$(CONFIG_AC97_BUS) += ac97_bus.o
13 obj-$(CONFIG_AC97_BUS_NEW) += ac97/
14
15 ifeq ($(CONFIG_SND),y)
16   obj-y += last.o
17 endif
18
19 soundcore-objs  := sound_core.o