Skip to contentSkip to conversation

meson: fix dependencies for modinfo

PATCH In review Paolo Bonzini 2 participants 2 messages Jul 21, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: fix dependencies for modinfo

modinfo runs the preprocessor and therefore needs all generated input files to be there. Add a "depends" clause.

---
 meson.build | 1 +
 1 file changed, 1 insertion(+)
meson.build +1 -0
index 8817706d08..18e6cb0a8c 100644
@@ -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
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paolo Bonzini

modinfo runs the preprocessor and therefore needs all generated input files to be there. Add a "depends" clause.

---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|