diff options
Diffstat (limited to 'meta-xilinx-core/recipes-devtools/qemu/qemu-8.1/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch')
| -rw-r--r-- | meta-xilinx-core/recipes-devtools/qemu/qemu-8.1/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-devtools/qemu/qemu-8.1/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch b/meta-xilinx-core/recipes-devtools/qemu/qemu-8.1/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch new file mode 100644 index 00000000..a84364cc --- /dev/null +++ b/meta-xilinx-core/recipes-devtools/qemu/qemu-8.1/0008-tests-meson.build-use-relative-path-to-refer-to-file.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From 2bf9388b801d4389e2d57e95a7897bfc1c42786e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Thu, 14 Jan 2021 06:33:04 +0000 | ||
| 4 | Subject: [PATCH 08/12] tests/meson.build: use relative path to refer to files | ||
| 5 | |||
| 6 | Fix error like: | ||
| 7 | Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long | ||
| 8 | |||
| 9 | when build path is too long, use meson.source_root() will make this | ||
| 10 | filename too long. Fixed by using relative path to refer to files | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [send to qemu-devel] | ||
| 13 | |||
| 14 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 15 | |||
| 16 | --- | ||
| 17 | tests/unit/meson.build | 4 ++-- | ||
| 18 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 19 | |||
| 20 | Index: qemu-8.0.0/tests/unit/meson.build | ||
| 21 | =================================================================== | ||
| 22 | --- qemu-8.0.0.orig/tests/unit/meson.build | ||
| 23 | +++ qemu-8.0.0/tests/unit/meson.build | ||
| 24 | @@ -46,7 +46,7 @@ tests = { | ||
| 25 | 'test-keyval': [testqapi], | ||
| 26 | 'test-logging': [], | ||
| 27 | 'test-uuid': [], | ||
| 28 | - 'ptimer-test': ['ptimer-test-stubs.c', meson.project_source_root() / 'hw/core/ptimer.c'], | ||
| 29 | + 'ptimer-test': ['ptimer-test-stubs.c', '../../hw/core/ptimer.c'], | ||
| 30 | 'test-qapi-util': [], | ||
| 31 | 'test-interval-tree': [], | ||
| 32 | 'test-xs-node': [qom], | ||
| 33 | @@ -136,7 +136,7 @@ if have_system | ||
| 34 | 'test-util-sockets': ['socket-helpers.c'], | ||
| 35 | 'test-base64': [], | ||
| 36 | 'test-bufferiszero': [], | ||
| 37 | - 'test-smp-parse': [qom, meson.project_source_root() / 'hw/core/machine-smp.c'], | ||
| 38 | + 'test-smp-parse': [qom, '../../hw/core/machine-smp.c'], | ||
| 39 | 'test-vmstate': [migration, io], | ||
| 40 | 'test-yank': ['socket-helpers.c', qom, io, chardev] | ||
| 41 | } | ||
