qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH 0/6] Convert pc-bios Makefiles to meson


From: Marc-André Lureau
Subject: Re: [PATCH 0/6] Convert pc-bios Makefiles to meson
Date: Sat, 19 Sep 2020 19:15:31 +0400

Hi

On Sat, Sep 19, 2020 at 6:59 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
On 18/09/20 22:47, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Hi,
>
> Here is a series of patches to convert the remaining Makefile in
> pc-bios/ to meson. I have done various tests to check that the
> resulting binaries are working as expected, but I didn't cover it
> all, and I am not sure the test su= ite covers them all either.

I don't know, the way pc-bios/ works seems just wrong to me.  pc-bios
should IMO be its own build system with support for docker-based cross
compilers similar to tests/tcg.

It could still use meson to build the binaries though (like we did for qboot). It's more about setting up the environment for the build to compile for the target.


In fact one thing I was considering before falling in love with Meson :)
was to write a simple meta-build-system for all of QEMU-owned ROMs,
submodules such as SLOF and tests/tcg.  I never even got to the
whiteboard phase, but if this were done, we could just build all the
firmwares as a Meson 0.56 "external project"[1].

Paolo

[1] https://github.com/mesonbuild/meson/commit/master#diff-3a49da052fafbb502673f20d188644e1

I suppose you meant: https://github.com/mesonbuild/meson/commit/9d338200dacdf24c50259c309380200f8a53d5b5

fwiw, this version doesn't compile with gcc 4.8 (on centos6, as patchew found out). I couldn't find a workaround yet. :(



--
Marc-André Lureau

reply via email to

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