modinfo runs the preprocessor and therefore needs all generated input files
to be there. Add a "depends" clause.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/meson.build b/meson.build
index 8817706d08..18e6cb0a8c 100644
--- a/meson.build
+++ b/meson.build
@@ -2512,6 +2512,7 @@ foreach d, list : modules
output: d + '-' + m + '.modinfo',
input: module_ss.sources(),
capture: true,
+ depends: genh,
command: [modinfo_collect, '@INPUT@'])
endif
else
--
2.31.1