mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 22:10:33 +00:00
tests/tcg: enable building for MIPS
This doesn't add any additional tests but enables building the multiarch tests for MIPS using docker cross compilers. We don't have a cross compiler for mips64 big endian though. 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>
This commit is contained in:
parent
106ea2db12
commit
7086ffbb93
17
tests/tcg/mips/Makefile.include
Normal file
17
tests/tcg/mips/Makefile.include
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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),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
|
Loading…
Reference in New Issue
Block a user