]> xenbits.xensource.com Git - xenclient/ioemu-pq.git/commitdiff
Enable ioemu build w/ alsa.
authorJean Guyader <jean.guyader@eu.citrix.com>
Mon, 8 Jun 2009 13:25:13 +0000 (14:25 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Mon, 8 Jun 2009 13:25:13 +0000 (14:25 +0100)
master/alsa-config [new file with mode: 0644]
master/series

diff --git a/master/alsa-config b/master/alsa-config
new file mode 100644 (file)
index 0000000..24e992c
--- /dev/null
@@ -0,0 +1,38 @@
+diff --git a/xen-config-host.h b/xen-config-host.h
+index 5b1f4d7..75a748c 100644
+--- a/xen-config-host.h
++++ b/xen-config-host.h
+@@ -49,4 +49,8 @@ extern unsigned long logdirty_bitmap_size;
+ #undef HAVE_IOVEC
+ #endif
++#ifndef CONFIG_STUBDOM
++#define CONFIG_AUDIO 1
++#endif
++
+ #endif /*XEN_CONFIG_HOST_H*/
+diff --git a/xen-hooks.mak b/xen-hooks.mak
+index 55dd477..976d6d7 100644
+--- a/xen-hooks.mak
++++ b/xen-hooks.mak
+@@ -48,6 +48,7 @@ CONFIG_SDL=
+ CONFIG_AUDIO=
+ OBJS += xenfbfront.o
+ else
++CONFIG_AUDIO=yes
+ CPPFLAGS+= -I$(XEN_ROOT)/tools/blktap/lib
+ LIBS += -L$(XEN_ROOT)/tools/blktap/lib -lblktap
+ OBJS += xen_blktap.o
+diff --git a/xen-setup b/xen-setup
+index 84f2936..1260156 100755
+--- a/xen-setup
++++ b/xen-setup
+@@ -9,7 +9,7 @@ rm -f config-host.mak
+ if test -f config-host.h; then mv config-host.h config-host.h~; fi
+-./configure --disable-gfx-check --disable-curses --disable-slirp --disable-vnc-tls --disable-sdl --disable-aio "$@" --prefix=/usr
++./configure --disable-gfx-check --disable-curses --disable-slirp --disable-vnc-tls --disable-sdl --disable-aio --audio-drv-list=alsa "$@" --prefix=/usr
+ target=i386-dm
index 881b4c7d03303362fee29ece4304fdb35338fc40..69d6775ff9d2a9795ad587f4979e953e7a4306e0 100644 (file)
@@ -17,3 +17,4 @@ disable-aio
 ps2-passthrough
 
 alsa-fix
+alsa-config