OSDN Git Service

tests/tcg: invoke Makefile.target directly from QEMU's makefile
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Apr 2022 09:10:12 +0000 (10:10 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Apr 2022 15:04:20 +0000 (16:04 +0100)
commiteebf199c09a250fc2e8ad2098b2687857569d9b3
tree148649611f0c2c1e055dc7ba9724768cd88f1514
parent5377a1000192ddfdb45d06877df7455009579f52
tests/tcg: invoke Makefile.target directly from QEMU's makefile

Build the "docker.py cc" invocation directly in tests/tcg/configure.sh, and
remove the Makefile.qemu wrapper around Makefile.target.  The config-*.mak
files now include the actual variables used when building the tests, rather
than the CROSS_* variables that Makefile.qemu used to "translate".

This is a first step towards generalizing the cross-compilation infrastructure
so that it can be used for firmware as well.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-15-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220419091020.3008144-18-alex.bennee@linaro.org>
tests/Makefile.include
tests/tcg/Makefile.qemu [deleted file]
tests/tcg/Makefile.target
tests/tcg/configure.sh