[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 24/57] tests/tcg: enable building for ARM
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL v2 24/57] tests/tcg: enable building for ARM |
Date: |
Thu, 21 Jun 2018 07:25:32 +0100 |
This allows us to use the docker cross compiler image to build these
tests.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
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
+DOCKER_CROSS_COMPILER=arm-linux-gnueabihf-gcc
+endif
diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target
index bc6962ecc6..0312293dca 100644
--- a/tests/tcg/arm/Makefile.target
+++ b/tests/tcg/arm/Makefile.target
@@ -1,6 +1,6 @@
# -*- Mode: makefile -*-
#
-# ARM - included from tests/tcg/Makefile.target
+# ARM - included from tests/tcg/Makefile
#
ARM_SRC=$(SRC_PATH)/tests/tcg/arm
@@ -11,3 +11,6 @@ VPATH += $(ARM_SRC)
hello-arm: CFLAGS+=-marm -ffreestanding
hello-arm: LDFLAGS+=-nostdlib
+
+# On ARM Linux only supports 4k pages
+EXTRA_RUNS+=run-test-mmap-4096
--
2.17.1
- [Qemu-devel] [PULL v2 46/57] tests/Makefile.include: add [build|clean|check]-tcg targets, (continued)
- [Qemu-devel] [PULL v2 46/57] tests/Makefile.include: add [build|clean|check]-tcg targets, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 27/57] tests/tcg/arm: add fcvt test cases for AArch32/64, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 22/57] tests/tcg/i386/test-i386: fix printf format, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 40/57] tests/tcg: enable building for mips64, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 11/57] tests/tcg/multiarch: Build fix for linux-test, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 30/57] tests/docker/Makefile.include: fix mipsel-cross dependancy, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 34/57] tests/tcg: enable building for Alpha, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 35/57] tests/tcg/alpha: add Alpha specific tests, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 23/57] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 37/57] tests/tcg: enable building for m68k, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 24/57] tests/tcg: enable building for ARM,
Alex Bennée <=
- [Qemu-devel] [PULL v2 26/57] tests/tcg: enable building for AArch64, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 14/57] tests/tcg/multiarch: move most output to stdout, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 36/57] tests/tcg: enable building for HPPA, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 31/57] tests/tcg/mips: include common mips hello-mips, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 29/57] tests/tcg: enable building for MIPS, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 20/57] tests/tcg/x86_64: add Makefile.target, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 50/57] tests: add top-level make dependency for docker builds, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 16/57] tests/tcg: enable building for i386, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 42/57] docker: move debian-powerpc-cross to sid based build, Alex Bennée, 2018/06/21
- [Qemu-devel] [PULL v2 18/57] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/06/21