summaryrefslogtreecommitdiffstats
path: root/pc-bios/descriptors
diff options
context:
space:
mode:
authorMarc-André Lureau2020-08-26 13:04:16 +0200
committerPaolo Bonzini2020-09-01 14:51:33 +0200
commitab4c0996f80d43d1fc28c6e76f4ecb27423a7e29 (patch)
tree62cbaf2a60cc5c3c47202dc62c112fe51e1e6a76 /pc-bios/descriptors
parentmeson: pass qemu_suffix option (diff)
downloadqemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.tar.gz
qemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.tar.xz
qemu-ab4c0996f80d43d1fc28c6e76f4ecb27423a7e29.zip
meson: use meson datadir instead of qemu_datadir
When cross-compiling, by default qemu_datadir is 'c:\Program Files\QEMU', which is not recognized as being an absolute path, and meson will end up adding the prefix again. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200826110419.528931-6-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios/descriptors')
-rw-r--r--pc-bios/descriptors/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc-bios/descriptors/meson.build b/pc-bios/descriptors/meson.build
index 7c715bace8..3798d32372 100644
--- a/pc-bios/descriptors/meson.build
+++ b/pc-bios/descriptors/meson.build
@@ -10,5 +10,5 @@ foreach f: [
output: f,
configuration: {'DATADIR': config_host['qemu_datadir']},
install: install_blobs,
- install_dir: config_host['qemu_datadir'] / 'firmware')
+ install_dir: qemu_datadir / 'firmware')
endforeach