[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build: allow setting a custom GIT binary for tr
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH] build: allow setting a custom GIT binary for transparent proxying |
Date: |
Fri, 20 Oct 2017 19:31:16 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Hi Daniel,
> diff --git a/configure b/configure
> index 6f21aaf989..ce5a2d0105 100755
> --- a/configure
> +++ b/configure
> @@ -271,6 +271,7 @@ then
> else
> git_submodules=""
> fi
> +git="git"
>
> # Don't accept a target_list environment variable.
> unset target_list
> @@ -1294,6 +1295,8 @@ for opt do
> error_exit "vhost-user isn't available on win32"
> fi
> ;;
> + --with-git=*) git="$optarg"
> + ;;
> *)
> echo "ERROR: unknown option $opt"
> echo "Try '$0 --help' for more information"
> @@ -5338,6 +5341,7 @@ echo "local state directory queried at runtime"
> echo "Windows SDK $win_sdk"
> fi
> echo "Source path $source_path"
> +echo "GIT binary $git"
"GIT command"
> echo "GIT submodules $git_submodules"
> echo "C compiler $cc"
> echo "Host C compiler $host_cc"
> @@ -5528,6 +5532,7 @@ echo "extra_cxxflags=$EXTRA_CXXFLAGS" >>
> $config_host_mak
> echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak
> echo "qemu_localedir=$qemu_localedir" >> $config_host_mak
> echo "libs_softmmu=$libs_softmmu" >> $config_host_mak
> +echo "GIT=$git" >> $config_host_mak
> echo "GIT_SUBMODULES=$git_submodules" >> $config_host_mak