qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 03/18] modules: add qemu-modinfo utility


From: Gerd Hoffmann
Subject: Re: [PATCH v2 03/18] modules: add qemu-modinfo utility
Date: Thu, 10 Jun 2021 15:04:24 +0200

  Hi Paolo,

> +if config_host.has_key('CONFIG_MODULES')
> +   qemu_modinfo = executable('qemu-modinfo', files('qemu-modinfo.c') + genh,
> +                             dependencies: [glib, qemuutil], install: 
> have_tools)
> +   custom_target('modinfo.json',
> +                 input: [ softmmu_mods, block_mods ],
> +                 output: 'modinfo.json',
> +                 install: true,
> +                 install_dir: qemu_moddir,
> +                 command: [ qemu_modinfo, '.' ])
> +endif

I have trouble with this one.  Tried to declaring the modules as "input"
to make sure meson will only run qemu-modinfo when it is done building
the module.  But now and then I get build errors because qemu-modinfo
runs in parallel to a module build and qemu-modinfo throws an read error
because of that.

Any clue what is going on here?

thanks,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]