]> git.proxmox.com Git - mirror_qemu.git/blobdiff - pc-bios/meson.build
hw/char: riscv_htif: Drop {to, from}host_size in HTIFState
[mirror_qemu.git] / pc-bios / meson.build
index fab323af84e73288cb85ee4f822f8cad589f78de..388e0db6e4035192bd2439ca2195b27efc3a8f71 100644 (file)
@@ -1,8 +1,5 @@
-if 'arm-softmmu' in target_dirs or \
-    'aarch64-softmmu' in target_dirs or \
-    'i386-softmmu' in target_dirs or \
-    'x86_64-softmmu' in target_dirs
-  bzip2 = find_program('bzip2', required: true)
+roms = []
+if unpack_edk2_blobs
   fds = [
     'edk2-aarch64-code.fd',
     'edk2-arm-code.fd',
@@ -15,9 +12,10 @@ if 'arm-softmmu' in target_dirs or \
   ]
 
   foreach f : fds
-    custom_target(f,
+    roms += custom_target(f,
+                  build_by_default: have_system,
                   output: f,
-                  input: '@0@.bz2'.format(f),
+                  input: files('@0@.bz2'.format(f)),
                   capture: true,
                   install: get_option('install_blobs'),
                   install_dir: qemu_datadir,
@@ -25,7 +23,7 @@ if 'arm-softmmu' in target_dirs or \
   endforeach
 endif
 
-blobs = files(
+blobs = [
   'bios.bin',
   'bios-256k.bin',
   'bios-microvm.bin',
@@ -65,6 +63,7 @@ blobs = files(
   'petalogix-s3adsp1800.dtb',
   'petalogix-ml605.dtb',
   'multiboot.bin',
+  'multiboot_dma.bin',
   'linuxboot.bin',
   'linuxboot_dma.bin',
   'kvmvapic.bin',
@@ -81,10 +80,10 @@ blobs = files(
   'hppa-firmware.img',
   'opensbi-riscv32-generic-fw_dynamic.bin',
   'opensbi-riscv64-generic-fw_dynamic.bin',
-  'opensbi-riscv32-generic-fw_dynamic.elf',
-  'opensbi-riscv64-generic-fw_dynamic.elf',
   'npcm7xx_bootrom.bin',
-)
+  'vof.bin',
+  'vof-nvram.bin',
+]
 
 if get_option('install_blobs')
   install_data(blobs, install_dir: qemu_datadir)