[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 07/13] blobs: Only install DT blobs if microblaze system targ
From: |
Philippe Mathieu-Daudé |
Subject: |
[RFC PATCH 07/13] blobs: Only install DT blobs if microblaze system targets are built |
Date: |
Tue, 23 Mar 2021 16:51:26 +0100 |
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
---
meson.build | 2 ++
pc-bios/meson.build | 9 +++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index a7f3b60d08e..e3418815b04 100644
--- a/meson.build
+++ b/meson.build
@@ -96,12 +96,14 @@
install_blobs_alpha = false
install_blobs_arm = false
install_blobs_hppa = false
+install_blobs_microblaze = false
if get_option('install_blobs')
foreach target : target_dirs
install_edk2_blobs = install_edk2_blobs or target in edk2_targets
install_blobs_alpha = install_blobs_alpha or target in ['alpha-softmmu']
install_blobs_arm = install_blobs_hppa or target in ['arm-softmmu',
'aarch64-softmmu']
install_blobs_hppa = install_blobs_hppa or target in ['hppa-softmmu']
+ install_blobs_microblaze = install_blobs_microblaze or target in
['microblaze-softmmu', 'microblazeel-softmmu']
endforeach
endif
diff --git a/pc-bios/meson.build b/pc-bios/meson.build
index c494c334e26..a6185feff58 100644
--- a/pc-bios/meson.build
+++ b/pc-bios/meson.build
@@ -62,8 +62,6 @@
'efi-vmxnet3.rom',
'bamboo.dtb',
'canyonlands.dtb',
- 'petalogix-s3adsp1800.dtb',
- 'petalogix-ml605.dtb',
'multiboot.bin',
'linuxboot.bin',
'linuxboot_dma.bin',
@@ -106,6 +104,13 @@
))
endif
+if install_blobs_microblaze
+ blobs_ss.add(files(
+ 'petalogix-s3adsp1800.dtb',
+ 'petalogix-ml605.dtb',
+ ))
+endif
+
blobs_ss = blobs_ss.apply(config_host, strict: false)
if get_option('install_blobs')
--
2.26.2
- [RFC PATCH 02/13] blobs: Only install EDK2 license file if EDK2 blobs are installed, (continued)
- [RFC PATCH 02/13] blobs: Only install EDK2 license file if EDK2 blobs are installed, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 03/13] blobs: Only install qemu-nsis.bmp on Windows host, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 04/13] blobs: Only install PALcode blob if alpha system target is built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 05/13] blobs: Only install npcm7xx bootrom if ARM system targets are built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 06/13] blobs: Only install PA-RISC SeaBIOS if hppa system target is built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 07/13] blobs: Only install DT blobs if microblaze system targets are built,
Philippe Mathieu-Daudé <=
- [RFC PATCH 09/13] blobs: Only install firmware blobs if riscv system targets are built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 10/13] blobs: Only install s390x firmwares if s390x system target is built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 08/13] blobs: Only install blobs if powerpc system targets are built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 11/13] blobs: Only install SPARC firmwares if sparc system targets are built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 12/13] blobs: Only install x86 blobs if x86 system targets are built, Philippe Mathieu-Daudé, 2021/03/23
- [RFC PATCH 13/13] meson: Only build ROM/BIOS when system emulation is built, Philippe Mathieu-Daudé, 2021/03/23