qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] meson: fix dependencies for modinfo
@ 2021-07-21 16:52 Paolo Bonzini
  2021-07-21 16:53 ` Daniel P. Berrangé
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2021-07-21 16:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: berrange

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-21 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-21 16:52 [PATCH] meson: fix dependencies for modinfo Paolo Bonzini
2021-07-21 16:53 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).