On 05/17/2018 02:46 PM, Alex Bennée wrote: > This allows us to use the docker cross compiler image to build these > tests. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > --- > tests/tcg/arm/Makefile.include | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 tests/tcg/arm/Makefile.include > > diff --git a/tests/tcg/arm/Makefile.include b/tests/tcg/arm/Makefile.include > new file mode 100644 > index 0000000000..8e7eac008f > --- /dev/null > +++ b/tests/tcg/arm/Makefile.include > @@ -0,0 +1,8 @@ > +# Makefile.include for all ARM targets > +# > +# We don't have any bigendian build tools so we only use this for armhf > + > +ifeq ($(TARGET_NAME),arm) > +DOCKER_IMAGE=debian-armhf-cross
[Note for a later series:] Since this image comes with ARMv7 libraries, I find clearer to rename as arm32v7, following new Docker scheme. This will ease to add arm32v6 (and arm32v5 if possible...) > +DOCKER_CROSS_COMPILER=arm-linux-gnueabihf-gcc > +endif > Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org>