Re: [PATCH v3 02/24] modules: collect module meta-data

2021-06-23 Thread Paolo Bonzini
Oh well. Let's add a to-do marker. Paolo Il mer 23 giu 2021, 09:36 Gerd Hoffmann ha scritto: > On Tue, Jun 22, 2021 at 06:03:45PM +0200, Paolo Bonzini wrote: > > On 21/06/21 14:52, Gerd Hoffmann wrote: > > > ninja: error: 'libui-curses.a.p/meson-generated_.._config-host.h.o', > needed by

Re: [PATCH v3 02/24] modules: collect module meta-data

2021-06-23 Thread Gerd Hoffmann
On Tue, Jun 22, 2021 at 06:03:45PM +0200, Paolo Bonzini wrote: > On 21/06/21 14:52, Gerd Hoffmann wrote: > > ninja: error: 'libui-curses.a.p/meson-generated_.._config-host.h.o', needed > > by 'ui-curses.modinfo.test', missing and no known rule to make it > > > > Hmm, not sure where this comes

Re: [PATCH v3 02/24] modules: collect module meta-data

2021-06-22 Thread Paolo Bonzini
On 21/06/21 14:52, Gerd Hoffmann wrote: ninja: error: 'libui-curses.a.p/meson-generated_.._config-host.h.o', needed by 'ui-curses.modinfo.test', missing and no known rule to make it Hmm, not sure where this comes from. meson doesn't try to link config-host.h.o into libui-curses.a, so why does

Re: [PATCH v3 02/24] modules: collect module meta-data

2021-06-21 Thread Gerd Hoffmann
On Fri, Jun 18, 2021 at 06:09:55PM +0200, Paolo Bonzini wrote: > On 18/06/21 06:53, Gerd Hoffmann wrote: > > +def find_command(src, target, compile_commands): > > +for command in compile_commands: > > +if command['file'] != src: > > +continue > > +if target != ''

Re: [PATCH v3 02/24] modules: collect module meta-data

2021-06-18 Thread Paolo Bonzini
On 18/06/21 06:53, Gerd Hoffmann wrote: +def find_command(src, target, compile_commands): +for command in compile_commands: +if command['file'] != src: +continue +if target != '' and command['command'].find(target) == -1: +continue Did you look into

[PATCH v3 02/24] modules: collect module meta-data

2021-06-17 Thread Gerd Hoffmann
Add script to collect the module meta-data from the source code, store the results in *.modinfo files. Signed-off-by: Gerd Hoffmann --- scripts/modinfo-collect.py | 67 ++ meson.build| 11 +++ 2 files changed, 78 insertions(+) create mode