[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] meson: List modules built in summary
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 3/3] meson: List modules built in summary |
Date: |
Tue, 25 May 2021 12:46:48 +0200 |
Instead of guessing the modules built, list them. Example:
Modules
audio : spice
block : curl dmg-bz2 gluster iscsi rbd ssh
chardev : spice
hw-display :
hw-s390x : virtio-gpu-ccw
hw-usb : redirect smartcard
ui : egl-headless gtk opengl spice-app spice-core
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
meson.build | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/meson.build b/meson.build
index 5ca1bd36292..54b97ace207 100644
--- a/meson.build
+++ b/meson.build
@@ -2738,6 +2738,17 @@
summary_info += {'FUSE lseek': fuse_lseek.found()}
summary(summary_info, bool_yn: true, section: 'Dependencies')
+# Modules
+summary_info = {}
+foreach d, list : modules
+ k = []
+ foreach m, _ : list
+ k += [m]
+ endforeach
+ summary_info += {d: ' '.join(k)}
+endforeach
+summary(summary_info, bool_yn: true, section: 'Modules')
+
if not supported_cpus.contains(cpu)
message()
warning('SUPPORT FOR THIS HOST CPU WILL GO AWAY IN FUTURE RELEASES!')
--
2.26.3