aboutsummaryrefslogtreecommitdiff
path: root/tests/vm/netbsd
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-10-13 17:28:32 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-17 15:20:53 +0200
commita6b75c9f6788db93769f0598a467a23befe30573 (patch)
tree1e45bbc6ed6b8fc4cb7f2d459f763b0f4e57eed5 /tests/vm/netbsd
parent24b34590d07f885a906ebb52fd84aa5e33d4e421 (diff)
tests/vm: netbsd: install dtc
Install dtc as it is now a mandatory external dependency in order to build QEMU. Co-developed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/vm/netbsd')
-rwxr-xr-xtests/vm/netbsd6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index c7e3f1e735..40b27a3469 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -40,6 +40,9 @@ class NetBSDVM(basevm.BaseVM):
"gsed",
"gettext-tools",
+ # libs: basic
+ "dtc",
+
# libs: crypto
"gnutls",
@@ -67,7 +70,8 @@ class NetBSDVM(basevm.BaseVM):
mkdir src build; cd src;
tar -xf /dev/rld1a;
cd ../build
- ../src/configure --disable-opengl {configure_opts};
+ ../src/configure --disable-opengl --extra-ldflags=-L/usr/pkg/lib \
+ --extra-cflags=-I/usr/pkg/include {configure_opts};
gmake --output-sync -j{jobs} {target} {verbose};
"""
poweroff = "/sbin/poweroff"