On 18/09/20 22:47, firstname.lastname@example.org wrote:
> From: Marc-André Lureau <email@example.com>
> 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".
fwiw, this version doesn't compile with gcc 4.8 (on centos6, as patchew found out). I couldn't find a workaround yet. :(