diff mbox series

[RFC,03/13] blobs: Only install qemu-nsis.bmp on Windows host

Message ID 20210323155132.238193-4-f4bug@amsat.org (mailing list archive)
State New, archived
Headers show
Series blobs: Only install required (system emulation) files | expand

Commit Message

Philippe Mathieu-Daudé March 23, 2021, 3:51 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
Cc: Stefan Weil <sw@weilnetz.de>
---
 pc-bios/meson.build | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Stefan Weil March 23, 2021, 3:57 p.m. UTC | #1
Am 23.03.21 um 16:51 schrieb Philippe Mathieu-Daudé:

> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> Cc: Stefan Weil <sw@weilnetz.de>
> ---
>   pc-bios/meson.build | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/pc-bios/meson.build b/pc-bios/meson.build
> index d270d8516c9..007cf9d2afb 100644
> --- a/pc-bios/meson.build
> +++ b/pc-bios/meson.build
> @@ -60,7 +60,6 @@
>     'efi-virtio.rom',
>     'efi-e1000e.rom',
>     'efi-vmxnet3.rom',
> -  'qemu-nsis.bmp',
>     'bamboo.dtb',
>     'canyonlands.dtb',
>     'petalogix-s3adsp1800.dtb',
> @@ -86,6 +85,12 @@
>     'npcm7xx_bootrom.bin',
>   ))
>   
> +if host_machine.system() == 'windows'
> +  blobs_ss.add(files(
> +    'qemu-nsis.bmp',
> +  ))
> +endif
> +
>   blobs_ss = blobs_ss.apply(config_host, strict: false)
>   
>   if get_option('install_blobs')


Thanks!

Reviewed-by: Stefan Weil <sw@weilnetz.de>
diff mbox series

Patch

diff --git a/pc-bios/meson.build b/pc-bios/meson.build
index d270d8516c9..007cf9d2afb 100644
--- a/pc-bios/meson.build
+++ b/pc-bios/meson.build
@@ -60,7 +60,6 @@ 
   'efi-virtio.rom',
   'efi-e1000e.rom',
   'efi-vmxnet3.rom',
-  'qemu-nsis.bmp',
   'bamboo.dtb',
   'canyonlands.dtb',
   'petalogix-s3adsp1800.dtb',
@@ -86,6 +85,12 @@ 
   'npcm7xx_bootrom.bin',
 ))
 
+if host_machine.system() == 'windows'
+  blobs_ss.add(files(
+    'qemu-nsis.bmp',
+  ))
+endif
+
 blobs_ss = blobs_ss.apply(config_host, strict: false)
 
 if get_option('install_blobs')