Patchwork [1/5] configure: link qemu-ga.exe in default make target

login
register
mail settings
Submitter Luiz Capitulino
Date Oct. 31, 2012, 5:45 p.m.
Message ID <1351705520-24589-2-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/195967/
State New
Headers show

Comments

Luiz Capitulino - Oct. 31, 2012, 5:45 p.m.
Avoids having to type "make qemu-ga.exe" after build is complete
and also cleanups qemu-ga.exe in make clean.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Michael Roth - Nov. 1, 2012, 3:47 p.m.
On Wed, Oct 31, 2012 at 03:45:16PM -0200, Luiz Capitulino wrote:
> Avoids having to type "make qemu-ga.exe" after build is complete
> and also cleanups qemu-ga.exe in make clean.
> 
> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>

> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 3685020..d15bf5b 100755
> --- a/configure
> +++ b/configure
> @@ -3079,7 +3079,7 @@ if test "$softmmu" = yes ; then
>        virtfs=no
>      fi
>    fi
> -  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
> +  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
>      if [ "$guest_agent" = "yes" ]; then
>        tools="qemu-ga\$(EXESUF) $tools"
>      fi
> -- 
> 1.7.12.315.g682ce8b
> 
>

Patch

diff --git a/configure b/configure
index 3685020..d15bf5b 100755
--- a/configure
+++ b/configure
@@ -3079,7 +3079,7 @@  if test "$softmmu" = yes ; then
       virtfs=no
     fi
   fi
-  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
+  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
     if [ "$guest_agent" = "yes" ]; then
       tools="qemu-ga\$(EXESUF) $tools"
     fi