Signed-off-by: Pierrick Bouvier <[email protected]>
---
tests/tcg/meson.build | 1 +
tests/tcg/ppc64le/Makefile.target | 7 -------
tests/tcg/ppc64le/meson.build | 14 ++++++++++++++
3 files changed, 15 insertions(+), 7 deletions(-)
delete mode 100644 tests/tcg/ppc64le/Makefile.target
create mode 100644 tests/tcg/ppc64le/meson.build
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
index 0013620c364..36f597a2447 100644
--- a/tests/tcg/meson.build
+++ b/tests/tcg/meson.build
@@ -147,6 +147,7 @@ subdir('mips64')
subdir('mips64el')
subdir('or1k')
subdir('ppc64')
+subdir('ppc64le')
image_targets = {}
exe_targets = []
diff --git a/tests/tcg/ppc64le/Makefile.target
b/tests/tcg/ppc64le/Makefile.target
deleted file mode 100644
index 00a0cdba295..00000000000
--- a/tests/tcg/ppc64le/Makefile.target
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- Mode: makefile -*-
-#
-# ppc64le specific tweaks
-
-#VPATH += $(SRC_PATH)/tests/tcg/ppc64le
-
-#include $(SRC_PATH)/tests/tcg/ppc64/Makefile.target
diff --git a/tests/tcg/ppc64le/meson.build b/tests/tcg/ppc64le/meson.build
new file mode 100644
index 00000000000..720aa167f23
--- /dev/null
+++ b/tests/tcg/ppc64le/meson.build
@@ -0,0 +1,14 @@
+if 'qemu-ppc64le' in emulators
+ tcg_tests += {
+ 'ppc64le-linux-user': {
+ 'cc': 'powerpc64le-linux-gnu-gcc',
+ 'cc_dockerfile': 'debian-all-test-cross',
+ 'cc_docker_host_arch': ['x86_64'],
+ 'cc_feat_cflags': cc_feat_cflags,
+ 'folder': 'ppc64le',
+ 'gdb_arch': 'ppc64le',
+ 'qemu': emulators['qemu-ppc64le'],
+ 'tests': tcg_tests_ppc64,
+ }
+ }
+endif
--
2.47.3