xemu/tests/tcg/mips/Makefile.include
Alex Bennée 33b2c4b50f tests/tcg: enable building for mips64
As before, using Debian SID compilers.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2018-06-20 20:22:34 +01:00

21 lines
629 B
Makefile

#
# Makefile.include for all MIPs targets
#
# As Debian doesn't support mip64 in big endian mode the only way to
# build BE is to pass a working cross compiler to ./configure
#
ifeq ($(TARGET_NAME),mips64el)
DOCKER_IMAGE=debian-mips64el-cross
DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc
else ifeq ($(TARGET_NAME),mips64)
DOCKER_IMAGE=debian-mips64-cross
DOCKER_CROSS_COMPILER=mips64-linux-gnuabi64-gcc
else ifeq ($(TARGET_NAME),mipsel)
DOCKER_IMAGE=debian-mipsel-cross
DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc
else ifeq ($(TARGET_NAME),mips)
DOCKER_IMAGE=debian-mips-cross
DOCKER_CROSS_COMPILER=mips-linux-gnu-gcc
endif