aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-05 12:40:49 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-05-05 12:40:49 +0200
commit764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f (patch)
treed8d44630cd1194f0cd19f7091ac1da4a656444b5 /Makefile.target
parent240c5cb1a24f5201472067a24c5d1ac54f6b8a20 (diff)
downloadexternal_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.zip
external_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.tar.gz
external_qemu-764a3c96b99c8fbb6765d08ea68ec7fcc9bc6a1f.tar.bz2
Fix emulator audio.
Audio support was compiled in, but never initialized because the hardware init function is in a different module and required HAS_AUDIO to be defined too. Change-Id: I57eccfb3a0abea86c29a9046f9f35d482a99c1f5
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index 8006c8d..7681dba 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -103,6 +103,9 @@ LOCAL_SRC_FILES += arm-dis.c
LOCAL_CFLAGS += $(ZLIB_CFLAGS)
endif
+# required to ensure we properly initialize virtual audio hardware
+LOCAL_CFLAGS += -DHAS_AUDIO
+
ifeq ($(EMULATOR_TARGET_ARCH),x86)
HW_SOURCES += \
apic.c \