xref: /openbmc/linux/sound/Makefile (revision e1036502)
11da177e4SLinus Torvalds# Makefile for the Linux sound card driver
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds
41da177e4SLinus Torvaldsobj-$(CONFIG_SOUND) += soundcore.o
5b9dd6ffcSAdrian Bunkobj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
61da177e4SLinus Torvaldsobj-$(CONFIG_SOUND_PRIME) += oss/
71da177e4SLinus Torvaldsobj-$(CONFIG_DMASOUND) += oss/
830833195STakashi Iwaiobj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/
930833195STakashi Iwaiobj-$(CONFIG_SND_AOA) += aoa/
101da177e4SLinus Torvalds
11*e1036502SNicolas Pitre# This one must be compilable even if sound is configured out
12*e1036502SNicolas Pitreobj-$(CONFIG_AC97_BUS) += ac97_bus.o
13*e1036502SNicolas Pitre
141da177e4SLinus Torvaldsifeq ($(CONFIG_SND),y)
151da177e4SLinus Torvalds  obj-y += last.o
161da177e4SLinus Torvaldsendif
171da177e4SLinus Torvalds
18b9dd6ffcSAdrian Bunksoundcore-objs  := sound_core.o
19