From: Jean Guyader Date: Mon, 8 Jun 2009 13:25:13 +0000 (+0100) Subject: Enable ioemu build w/ alsa. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5ed9eaee31eb99a193e284f55cc02d22ed57ef1c;p=xenclient%2Fioemu-pq.git Enable ioemu build w/ alsa. --- diff --git a/master/alsa-config b/master/alsa-config new file mode 100644 index 0000000..24e992c --- /dev/null +++ b/master/alsa-config @@ -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 + diff --git a/master/series b/master/series index 881b4c7..69d6775 100644 --- a/master/series +++ b/master/series @@ -17,3 +17,4 @@ disable-aio ps2-passthrough alsa-fix +alsa-config