xref: /linux/sound/Makefile (revision 2697b79a469b68e3ad3640f55284359c1396278d)
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-y  := sound_core.o
21