aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-04-17 11:31:02 +0100
committerAlex Bennée <alex.bennee@linaro.org>2018-06-20 20:22:34 +0100
commit2ac93f19b69d7729841f9c6f1d3d4688f7a2ebca (patch)
tree16e603a5cd70bdea1ed2da030d29ab70409cd8fa /tests
parent6bf77518ddc37cec317334e057cc6e2876aa7f44 (diff)
downloadqemu-2ac93f19b69d7729841f9c6f1d3d4688f7a2ebca.zip
qemu-2ac93f19b69d7729841f9c6f1d3d4688f7a2ebca.tar.gz
qemu-2ac93f19b69d7729841f9c6f1d3d4688f7a2ebca.tar.bz2
tests/tcg/mips: include common mips hello-mips
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/tcg/mips/Makefile.target19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/tcg/mips/Makefile.target b/tests/tcg/mips/Makefile.target
new file mode 100644
index 0000000..71f0c2d
--- /dev/null
+++ b/tests/tcg/mips/Makefile.target
@@ -0,0 +1,19 @@
+# -*- Mode: makefile -*-
+#
+# MIPS - included from tests/tcg/Makefile.target
+#
+
+MIPS_SRC=$(SRC_PATH)/tests/tcg/mips
+
+# Set search path for all sources
+VPATH += $(MIPS_SRC)
+
+MIPS_TESTS=hello-mips
+
+TESTS += $(MIPS_TESTS)
+
+hello-mips: CFLAGS+=-ffreestanding
+hello-mips: LDFLAGS+=-nostdlib
+
+# For MIPS32 and 64 we have a bunch of extra tests in sub-directories
+# however they are intended for system tests.