FMOD_CFLAGS is not set when CONFIG_FMOD is undef

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:57 +02:00 committed by Anthony Liguori
parent 4de67f2fa7
commit 98b068a9f1

View File

@ -98,9 +98,7 @@ obj-$(CONFIG_POSIX) += migration-exec.o
ifdef CONFIG_COREAUDIO
AUDIO_PT = y
endif
ifdef CONFIG_FMOD
audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS := $(FMOD_CFLAGS) $(QEMU_CFLAGS)
endif
audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS += $(FMOD_CFLAGS)
ifdef CONFIG_ESD
AUDIO_PT = y
AUDIO_PT_INT = y