[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/17] tests/vm/openbsd: Use the system dtc package
From: |
Alex Bennée |
Subject: |
[PATCH 01/17] tests/vm/openbsd: Use the system dtc package |
Date: |
Sat, 28 Oct 2023 11:32:55 +0100 |
From: Thomas Huth <thuth@redhat.com>
We can use the pre-packaged libfdt from the dtc package to avoid
that we have to compile this code each time again and again.
While we're at it, the "--python=python3" does not seemt to be
necessary anymore, so we can drop it.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20231016154049.37147-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/vm/openbsd | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index 6b4fc29793..85c5bb3536 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -27,6 +27,7 @@ class OpenBSDVM(basevm.BaseVM):
size = "20G"
pkgs = [
# tools
+ "dtc",
"git",
"pkgconf",
"bzip2", "xz",
@@ -67,8 +68,9 @@ class OpenBSDVM(basevm.BaseVM):
cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
mkdir src build; cd src;
tar -xf /dev/rsd1c;
- cd ../build
- ../src/configure --cc=cc --python=python3 {configure_opts};
+ cd ../build;
+ ../src/configure --cc=cc --extra-cflags=-I/usr/local/include \
+ --extra-ldflags=-L/usr/local/lib {configure_opts};
gmake --output-sync -j{jobs} {target} {verbose};
"""
poweroff = "halt -p"
--
2.39.2
- [PATCH 00/17] Maintainer updates for testing, gdb, semihosting and plugins, Alex Bennée, 2023/10/28
- [PATCH 06/17] tests/docker: use debian-all-test-cross for power, Alex Bennée, 2023/10/28
- [PATCH 01/17] tests/vm/openbsd: Use the system dtc package,
Alex Bennée <=
- [PATCH 04/17] tests/docker: use debian-legacy-test-cross for alpha, Alex Bennée, 2023/10/28
- [PATCH 05/17] tests/docker: move sh4 to use debian-legacy-test-cross, Alex Bennée, 2023/10/28
- [PATCH 07/17] tests/docker: use debian-all-test-cross for hppa, Alex Bennée, 2023/10/28
- [PATCH 09/17] tests/docker: use debian-all-test-cross for mips64, Alex Bennée, 2023/10/28
- [PATCH 03/17] gitlab: split alpha testing into a legacy container, Alex Bennée, 2023/10/28