From: Michal Privoznik <mprivozn@redhat.com>
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>
---
src/ch/meson.build | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/src/ch/meson.build b/src/ch/meson.build
index b3e9c03832..aef2d86533 100644
--- a/src/ch/meson.build
+++ b/src/ch/meson.build
@@ -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)
--
2.51.0