files are only compiled when CONFIG_ADLIB is defined

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
This commit is contained in:
Juan Quintela 2009-08-03 14:46:31 +02:00 committed by Anthony Liguori
parent a4bf678087
commit ba679e62f3

View File

@ -236,9 +236,7 @@ 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
ifdef CONFIG_ADLIB
adlib.o fmopl.o: QEMU_CFLAGS := ${QEMU_CFLAGS} -DBUILD_Y8950=0
endif
ifdef CONFIG_VNC_TLS
QEMU_CFLAGS += $(VNC_TLS_CFLAGS)