tests/tcg: Fix some targets default cross compiler path
commit73594998f7f6cd6cb755b474aebf62ea247bb3a5
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 Oct 2021 10:22:14 +0000 (26 11:22 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Nov 2021 10:32:01 +0000 (4 10:32 +0000)
treed9d306f5e5f04605de28b760d74a217aff8f7ff7
parentd654283d0b18bce73fde862932a1fd01cf44f5c1
tests/tcg: Fix some targets default cross compiler path

We do not want a shell command substitution, but a parameter
substitution (with assignment). Replace $() -> ${}, otherwise
the expanded command return an empty string and the $cross_cc
variable is not set.

Fixes: 634ef789f8e ("tests/tcg: add more default compilers to configure.sh")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[AJB: disable sh4 linux-test]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211023164329.328137-1-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-9-alex.bennee@linaro.org>
tests/tcg/configure.sh
tests/tcg/sh4/Makefile.target