diff mbox series

[RFC,02/13] blobs: Only install EDK2 license file if EDK2 blobs are installed

Message ID 20210323155132.238193-3-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: Laszlo Ersek <lersek@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 pc-bios/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Laszlo Ersek March 23, 2021, 4:15 p.m. UTC | #1
On 03/23/21 16:51, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  pc-bios/meson.build | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/pc-bios/meson.build b/pc-bios/meson.build
> index 1c4074bcb0d..d270d8516c9 100644
> --- a/pc-bios/meson.build
> +++ b/pc-bios/meson.build
> @@ -22,6 +22,8 @@
>                    install_dir: qemu_datadir,
>                    command: [ bzip2, '-dc', '@INPUT0@' ])
>    endforeach
> +
> +  blobs_ss.add(files('edk2-licenses.txt'))
>  endif
>  
>  blobs_ss.add(files(
> @@ -76,7 +78,6 @@
>    'u-boot.e500',
>    'u-boot-sam460-20100605.bin',
>    'qemu_vga.ndrv',
> -  'edk2-licenses.txt',
>    'hppa-firmware.img',
>    'opensbi-riscv32-generic-fw_dynamic.bin',
>    'opensbi-riscv64-generic-fw_dynamic.bin',
> 

Acked-by: Laszlo Ersek <lersek@redhat.com>
diff mbox series

Patch

diff --git a/pc-bios/meson.build b/pc-bios/meson.build
index 1c4074bcb0d..d270d8516c9 100644
--- a/pc-bios/meson.build
+++ b/pc-bios/meson.build
@@ -22,6 +22,8 @@ 
                   install_dir: qemu_datadir,
                   command: [ bzip2, '-dc', '@INPUT0@' ])
   endforeach
+
+  blobs_ss.add(files('edk2-licenses.txt'))
 endif
 
 blobs_ss.add(files(
@@ -76,7 +78,6 @@ 
   'u-boot.e500',
   'u-boot-sam460-20100605.bin',
   'qemu_vga.ndrv',
-  'edk2-licenses.txt',
   'hppa-firmware.img',
   'opensbi-riscv32-generic-fw_dynamic.bin',
   'opensbi-riscv64-generic-fw_dynamic.bin',