aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-06-23 18:53:13 -0300
committerAlex Bennée <alex.bennee@linaro.org>2019-03-12 17:05:21 +0000
commitc72d9df18185c2d06f97409b6edabb68a77a49c3 (patch)
tree931220853b0c384606660be57c6ab2b5337ffc56 /tests/tcg/xtensa
parentb4f396151ba736078e12c01a079ba53ad02f0e26 (diff)
tests/docker: add debian-xtensa-cross image
Xtensa cpu supported: - dc232b - dc233c - csp Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/xtensa')
-rw-r--r--tests/tcg/xtensa/Makefile.include11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/Makefile.include b/tests/tcg/xtensa/Makefile.include
new file mode 100644
index 0000000000..423c00a5d3
--- /dev/null
+++ b/tests/tcg/xtensa/Makefile.include
@@ -0,0 +1,11 @@
+# Makefile.include for xtensa targets
+#
+# The compilers can only be used for building system tests
+
+ifeq ($(CONFIG_SOFTMMU),y)
+DOCKER_IMAGE=debian-xtensa-cross
+
+# default to the dc232b cpu
+DOCKER_CROSS_COMPILER=/opt/2018.02/xtensa-dc232b-elf/bin/xtensa-dc232b-elf-gcc
+DOCKER_CROSS_LINKER=/opt/2018.02/xtensa-dc232b-elf/bin/xtensa-dc232b-elf-ld
+endif