xref: /openbmc/linux/sound/Makefile (revision 8d433441)
11da177e4SLinus Torvalds# Makefile for the Linux sound card driver
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds
41da177e4SLinus Torvaldsobj-$(CONFIG_SOUND) += soundcore.o
51da177e4SLinus Torvaldsobj-$(CONFIG_SOUND_PRIME) += oss/
61da177e4SLinus Torvaldsobj-$(CONFIG_DMASOUND) += oss/
73b0a899cSHans-Christian Egtvedtobj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \
8287599cfSJerome Anand	firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/
930833195STakashi Iwaiobj-$(CONFIG_SND_AOA) += aoa/
101da177e4SLinus Torvalds
11e1036502SNicolas Pitre# This one must be compilable even if sound is configured out
12e1036502SNicolas Pitreobj-$(CONFIG_AC97_BUS) += ac97_bus.o
13*8d433441SRobert Jarzmikobj-$(CONFIG_AC97_BUS_NEW) += ac97/
14e1036502SNicolas Pitre
151da177e4SLinus Torvaldsifeq ($(CONFIG_SND),y)
161da177e4SLinus Torvalds  obj-y += last.o
171da177e4SLinus Torvaldsendif
181da177e4SLinus Torvalds
19b9dd6ffcSAdrian Bunksoundcore-objs  := sound_core.o
20