]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ch: Sort driver sources and drop header files
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Oct 2025 08:11:04 +0000 (10:11 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 10 Nov 2025 12:16:22 +0000 (13:16 +0100)
Firstly, there's no need to list header files in
ch_driver_sources (we don't do that anywhere else, and meson is
smart enough to figure them out). And secondly, the list of
source file is not sorted which means new source files are added
in random order.

Thus, drop header files from the list and sort it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/ch/meson.build

index b3e9c038322bcf461e9096e693256bf9b0bb16bf..aef2d86533d4308073f0272f5a268cccfc46ea14 100644 (file)
@@ -1,26 +1,15 @@
 ch_driver_sources = [
-  'ch_capabilities.h',
+  'ch_alias.c',
   'ch_capabilities.c',
   'ch_conf.c',
-  'ch_conf.h',
   'ch_domain.c',
-  'ch_domain.h',
   'ch_driver.c',
-  'ch_driver.h',
   'ch_events.c',
-  'ch_events.h',
+  'ch_hostdev.c',
+  'ch_hotplug.c',
   'ch_interface.c',
-  'ch_interface.h',
   'ch_monitor.c',
-  'ch_monitor.h',
   'ch_process.c',
-  'ch_process.h',
-  'ch_hostdev.c',
-  'ch_hostdev.h',
-  'ch_hotplug.c',
-  'ch_hotplug.h',
-  'ch_alias.c',
-  'ch_alias.h',
 ]
 
 driver_source_files += files(ch_driver_sources)