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