summaryrefslogtreecommitdiff
path: root/target/x86
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:01:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-08 08:01:48 +0200
commit3636773aa5bf863f35ca561a44e595fadb2194e2 (patch)
tree1304dd33fa4df60bc1ce0d19679966c4fce61ebd /target/x86
parent488db3d5e0f0dc3c7c8c968e81aa3a1107c459bf (diff)
enable audio support for qemu-x86/qemu-x86_64
Diffstat (limited to 'target/x86')
-rw-r--r--target/x86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/x86/Makefile b/target/x86/Makefile
index a4d3ee58c..7fdd3a0cd 100644
--- a/target/x86/Makefile
+++ b/target/x86/Makefile
@@ -14,6 +14,10 @@ QEMU_ARGS:=-M pc
QEMU_ARGS+=${ADK_QEMU_ARGS}
QEMU_ARGS+=-net user -net nic,model=e1000
+ifeq ($(ADK_TARGET_QEMU_WITH_AUDIO),y)
+QEMU_ARGS+=-soundhw ac97
+endif
+
ifeq ($(ADK_TARGET_QEMU_WITH_BOOTLOADER),y)
ifeq ($(ADK_TARGET_QEMU_WITHOUT_GRAPHIC),y)
CREATE:=./scripts/create.sh -g -t