Message ID | 20210122204441.2145197-2-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | buildsys: Do not build various objects if not necessary | expand |
Philippe Mathieu-Daudé <philmd@redhat.com> writes: > Acked-by: Gerd Hoffmann <kraxel@redhat.com> > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > configure | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/configure b/configure > index 6f6a319c2f6..a4476d457e0 100755 > --- a/configure > +++ b/configure > @@ -2324,6 +2324,12 @@ if test -z "$want_tools"; then > fi > fi > > +########################################## > +# Disable features only meaningful for system-mode emulation > +if test "$softmmu" = "no"; then > + audio_drv_list="" > +fi > + > ########################################## > # Some versions of Mac OS X incorrectly define SIZE_MAX > cat > $TMPC << EOF
diff --git a/configure b/configure index 6f6a319c2f6..a4476d457e0 100755 --- a/configure +++ b/configure @@ -2324,6 +2324,12 @@ if test -z "$want_tools"; then fi fi +########################################## +# Disable features only meaningful for system-mode emulation +if test "$softmmu" = "no"; then + audio_drv_list="" +fi + ########################################## # Some versions of Mac OS X incorrectly define SIZE_MAX cat > $TMPC << EOF