[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/6] meson: use subprojects for bundled projects
|
From: |
Paolo Bonzini |
|
Subject: |
Re: [PATCH v2 0/6] meson: use subprojects for bundled projects |
|
Date: |
Fri, 19 May 2023 11:28:16 +0200 |
On Fri, May 19, 2023 at 11:21 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Fri, 19 May 2023 at 09:56, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> > QEMU bundles a copy of dtc and keycodemapdb. They both support meson,
> > so we can run their build system via subproject() instead of hardcoding
> > their contents.
> >
> > In fact, now that QEMU's configure script knows how to install missing
> > Python dependencies, we can replace submodules altogether with .wrap
> > files, which have several advantages, either immediate or potential:
>
> So do we have a path for getting rid of submodules entirely?
For building QEMU, yes.
The firmware submodules would not be affected, but those are really
just a way to ensure we respect the GPL when distributing firmware
blobs. We could keep them, as they mostly stay out of the way, or we
could move the information to files that are then consulted by
scripts/make-release. And those files could very well reuse the same
".ini" format that is used by .wrap files.
Paolo
> I'd be all in favour of that, but I'm somewhat less in favour
> of "some things are submodules and some things are this new
> .wrap file setup"...
- [PATCH 4/6] meson: use subproject for keycodemapdb, (continued)
- [PATCH 4/6] meson: use subproject for keycodemapdb, Paolo Bonzini, 2023/05/19
- [PATCH 5/6] configure: rename --enable-pypi to --enable-download, control subprojects too, Paolo Bonzini, 2023/05/19
- [PATCH 6/6] meson: subprojects: replace submodules with wrap files, Paolo Bonzini, 2023/05/19
- [PATCH 3/6] meson: use subproject for internal libfdt, Paolo Bonzini, 2023/05/19
- Re: [PATCH v2 0/6] meson: use subprojects for bundled projects, Peter Maydell, 2023/05/19
- Re: [PATCH v2 0/6] meson: use subprojects for bundled projects, Peter Maydell, 2023/05/19