diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2018-06-08 12:12:46 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2018-06-20 22:13:32 +0100 |
commit | 1a7fab926b3d9913149f3a859185cee7f27f767a (patch) | |
tree | 56598c59bfbc313d0bc13e2f307250202c45c117 /tests/docker/docker.py | |
parent | ab93256144487a5f151635028080f1be5c9ccc6c (diff) | |
download | qemu-1a7fab926b3d9913149f3a859185cee7f27f767a.zip |
tests: add top-level make dependency for docker builds
One problem with satisfying your docker dependencies in a sub-make it
you might end up trying to satisfy the dependency multiple times. This
is especially a problem with debian-sid based cross compilers and CI
setups. We solve this by doing a docker build pass at the top level
before any sub-makes are called.
We still need to satisfy dependencies in the Makefile.target call so
people can run tests from individual target directories. We introduce
a new Makefile.probe which gets called for each PROBE_TARGET and
allows us to build up the list. It does require multiply including
config-target.mak which shouldn't cause any issues as it shouldn't
define anything that clashes with config-host.mak. However we undefine
a few key variables each time around.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/docker.py')
0 files changed, 0 insertions, 0 deletions