aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.objs
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-22 20:18:40 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-22 20:18:40 +0000
commit70615c38ded2a20ad8282b7dcde95482fc0a7744 (patch)
tree734ab3364efb7c1e29bdf66d1b1fb661e2e08c16 /Makefile.objs
parentc9a43af9afc29538d77699e99a887560c654eee2 (diff)
Compile sound devices only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index a38a74518..ede3f2825 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -178,6 +178,18 @@ hw-obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
hw-obj-$(CONFIG_VGA_PCI) += vga-pci.o
hw-obj-$(CONFIG_VGA_ISA) += vga-isa.o
+# Sound
+sound-obj-y =
+sound-obj-$(CONFIG_SB16) += sb16.o
+sound-obj-$(CONFIG_ES1370) += es1370.o
+sound-obj-$(CONFIG_AC97) += ac97.o
+sound-obj-$(CONFIG_ADLIB) += fmopl.o adlib.o
+sound-obj-$(CONFIG_GUS) += gus.o gusemu_hal.o gusemu_mixer.o
+sound-obj-$(CONFIG_CS4231A) += cs4231a.o
+
+adlib.o fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
+hw-obj-$(CONFIG_SOUND) += $(sound-obj-y)
+
######################################################################
# libdis
# NOTE: the disassembler code is only needed for debugging