xref: /linux/sound/Makefile (revision de3a9980)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds# Makefile for the Linux sound card driver
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsobj-$(CONFIG_SOUND) += soundcore.o
6727dede0STakashi Iwaiobj-$(CONFIG_DMASOUND) += oss/dmasound/
73b0a899cSHans-Christian Egtvedtobj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
8*de3a9980SAnton Yakovlev	firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ \
9*de3a9980SAnton Yakovlev	virtio/
1030833195STakashi Iwaiobj-$(CONFIG_SND_AOA) += aoa/
111da177e4SLinus Torvalds
12e1036502SNicolas Pitre# This one must be compilable even if sound is configured out
13e1036502SNicolas Pitreobj-$(CONFIG_AC97_BUS) += ac97_bus.o
148d433441SRobert Jarzmikobj-$(CONFIG_AC97_BUS_NEW) += ac97/
15e1036502SNicolas Pitre
161da177e4SLinus Torvaldsifeq ($(CONFIG_SND),y)
171da177e4SLinus Torvalds  obj-y += last.o
181da177e4SLinus Torvaldsendif
191da177e4SLinus Torvalds
20b9dd6ffcSAdrian Bunksoundcore-objs  := sound_core.o
21