Hi On Sat, Sep 19, 2020 at 6:59 PM Paolo Bonzini <[email protected]> wrote:
> On 18/09/20 22:47, [email protected] wrote: > > From: Marc-André Lureau <[email protected]> > > > > 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
