diff mbox series

meson: fix dependencies for modinfo

Message ID 20210721165206.652325-1-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show
Series meson: fix dependencies for modinfo | expand

Commit Message

Paolo Bonzini July 21, 2021, 4:52 p.m. UTC
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(+)

Comments

Daniel P. Berrangé July 21, 2021, 4:53 p.m. UTC | #1
On Wed, Jul 21, 2021 at 06:52:06PM +0200, Paolo Bonzini wrote:
> 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(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Regards,
Daniel
diff mbox series

Patch

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