xref: /linux/sound/Makefile (revision b5bee6ced21ca98389000b7017dd41b0cc37fa50)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the Linux sound card driver
3#
4
5obj-$(CONFIG_SOUND) += soundcore.o
6obj-$(CONFIG_DMASOUND) += oss/dmasound/
7obj-$(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/
10obj-$(CONFIG_SND_AOA) += aoa/
11
12# This one must be compilable even if sound is configured out
13obj-$(CONFIG_AC97_BUS) += ac97_bus.o
14obj-$(CONFIG_AC97_BUS_NEW) += ac97/
15
16ifeq ($(CONFIG_SND),y)
17  obj-y += last.o
18endif
19
20soundcore-objs  := sound_core.o
21