aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-06-25 00:08:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 14:18:07 -0500
commitb6271b484c94d31c04fa14f10e798f0f012afc60 (patch)
treeb9b084b8a1dab57f9554e638b61f842e6793d1ea
parent5f87762742923e42114ed49c96251a245f109147 (diff)
downloadqemu-b6271b484c94d31c04fa14f10e798f0f012afc60.zip
qemu-b6271b484c94d31c04fa14f10e798f0f012afc60.tar.gz
qemu-b6271b484c94d31c04fa14f10e798f0f012afc60.tar.bz2
Substitute ifdef CONFIG_FOO by sound-obj-
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile.target16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.target b/Makefile.target
index 20f52c8..cd7bf35 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -515,17 +515,17 @@ ifdef CONFIG_OSS
LIBS += $(CONFIG_OSS_LIB)
endif
-sound-obj-y = sb16.o es1370.o ac97.o
+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_CS4321A) += cs4231a.o
+
ifdef CONFIG_ADLIB
-sound-obj-y += fmopl.o adlib.o
adlib.o fmopl.o: CFLAGS := ${CFLAGS} -DBUILD_Y8950=0
endif
-ifdef CONFIG_GUS
-sound-obj-y += gus.o gusemu_hal.o gusemu_mixer.o
-endif
-ifdef CONFIG_CS4231A
-sound-obj-y += cs4231a.o
-endif
ifdef CONFIG_VNC_TLS
CPPFLAGS += $(CONFIG_VNC_TLS_CFLAGS)