Skip to contentSkip to conversation

meson: Optimize summary_info about directories

PATCH In review Bin Guo 3 participants 3 messages Dec 20, 2025 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Bin Guo

author
#0 lore raw

PATCH 1/1 meson: Optimize summary_info about directories

Clear summary_info first, otherwise there will be redundant output about build environment.

---
 meson.build | 1 +
 1 file changed, 1 insertion(+)
meson.build +1 -0
index d9293294d8..73aa535d10 100644
@@ -4634,6 +4634,7 @@ summary_info += {'Download dependencies': get_option('wrap_mode') != 'nodownload
 summary(summary_info, bool_yn: true, section: 'Build environment')
 
 # Directories
+summary_info = {}
 summary_info += {'Install prefix':    get_option('prefix')}
 summary_info += {'BIOS directory':    qemu_datadir}
 pathsep = host_os == 'windows' ? ';' : ':'
Signature · 1 line
2.50.1 (Apple Git-155)
Tested-by Reviewed-by on v1 1/1
#2 lore raw
In reply to Bin Guo
Quoted 4 lines · Bin Guo

Clear summary_info first, otherwise there will be redundant output about build environment.

Quoted 16 lines
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)
meson.build +1 -0
index d9293294d8..73aa535d10 100644
@@ -4634,6 +4634,7 @@ summary_info += {'Download dependencies': get_option('wrap_mode') != 'nodownload
 summary(summary_info, bool_yn: true, section: 'Build environment')
 
 # Directories
+summary_info = {}
 summary_info += {'Install prefix':    get_option('prefix')}
 summary_info += {'BIOS directory':    qemu_datadir}
 pathsep = host_os == 'windows' ? ';' : ':'
Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro