OSDN Git Service

tests/tcg/configure.sh: add handling for assembler only builds
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 20 Jul 2021 23:27:00 +0000 (00:27 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 23 Jul 2021 16:22:16 +0000 (17:22 +0100)
commitc56f1ee668d504af62f09e041e584e725edfa4b8
tree45494407b7c76f4d2eec5833af7fe40af0f44149
parent2da42253ef9af7a9c3a5e9e7fcfb1e7eb84a8bb6
tests/tcg/configure.sh: add handling for assembler only builds

Up until this point we only handled local compilers or assumed we had
everything in the container. This falls down when we are building QEMU
inside the container.

This special handling only affects tricore for now but I put it in a
case just in case we add any other "special" targets. Setting
CROSS_CC_GUEST is a bit of a hack just to ensure the test runs as we
gate on a detected compiler even though the Makefile won't actually
use it. It also means we display something sane in the configure
output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210720232703.10650-27-alex.bennee@linaro.org>
tests/tcg/configure.sh