[PATCH for 10.1 10/13] configure: expose PYTHON to test/tcg/config-host.mak

Alex Bennée posted 13 patches 3 months, 3 weeks ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
[PATCH for 10.1 10/13] configure: expose PYTHON to test/tcg/config-host.mak
Posted by Alex Bennée 3 months, 3 weeks ago
This will be useful for making $shell calls to something more flexible
than the shell builtins.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 95f67c1a827..825057ebf15 100755
--- a/configure
+++ b/configure
@@ -1800,6 +1800,7 @@ echo "SRC_PATH=$source_path" >> tests/tcg/$config_host_mak
 if test "$plugins" = "yes" ; then
     echo "CONFIG_PLUGIN=y" >> tests/tcg/$config_host_mak
 fi
+echo "PYTHON=$python" >> tests/tcg/$config_host_mak
 
 tcg_tests_targets=
 for target in $target_list; do
-- 
2.47.2


Re: [PATCH for 10.1 10/13] configure: expose PYTHON to test/tcg/config-host.mak
Posted by Manos Pitsidianakis 3 months, 3 weeks ago
On Thu, Jul 24, 2025 at 2:01 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> This will be useful for making $shell calls to something more flexible
> than the shell builtins.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  configure | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index 95f67c1a827..825057ebf15 100755
> --- a/configure
> +++ b/configure
> @@ -1800,6 +1800,7 @@ echo "SRC_PATH=$source_path" >> tests/tcg/$config_host_mak
>  if test "$plugins" = "yes" ; then
>      echo "CONFIG_PLUGIN=y" >> tests/tcg/$config_host_mak
>  fi
> +echo "PYTHON=$python" >> tests/tcg/$config_host_mak
>
>  tcg_tests_targets=
>  for target in $target_list; do
> --
> 2.47.2
>
>

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>