RFC Cross compilation of embedded firmware
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest12 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | tests/tcg: merge configure.sh back into main configure scriptconfigure tests/ tests/ | +388 | 0 replies | |
| 2/12 | configure: add missing cross compiler fallbacksconfigure | +3 | 1 reply | |
| 3/12 | configure: handle host compiler in probe_target_compilerconfigure | +14 | 0 replies | |
| 4/12 | configure: introduce --cross-prefix-*=configure | +77 | 1 reply | |
| 5/12 | configure: include more binutils in tests/tcg makefileconfigure | +51 | 1 reply | |
| 6/12 | configure, meson: move symlinking of ROMs to mesonconfigure pc-bios/ tests/ | +14 | 1 reply | |
| 7/12 | configure: move symlink configuration earlierconfigure | +24 | 1 reply | |
| 8/12 | configure: enable cross-compilation of s390-ccwconfigure pc-bios/ pc-bios/ | +19 | 1 reply | |
| 9/12 | pc-bios/optionrom: detect -fno-pieconfigure pc-bios/ | +2 | 1 reply | |
| 10/12 | pc-bios/optionrom: compile with -Wno-array-boundspc-bios/ | +1 | 3 replies | |
| 11/12 | configure: enable cross-compilation of optionromconfigure pc-bios/ | +22 | 1 reply | |
| 12/12 | configure: enable cross compilation of vofconfigure pc-bios/ | +19 | 1 reply |
Reviews trailers per patch
10 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson |
|---|---|
| 1/12 | |
| 2/12 | R-b |
| 3/12 | |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | R-b |
| 10/12 | R-b |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 00/12] Cross compilation of embedded firmware
This is the next part of the firmware cross compilation story, and shows a little more the direction I would like for QEMU's configure script.
It basically does half of half of the work: it only looks at firmware that's distributed with QEMU (optionrom, s390-ccw, vof) and does not do docker cross compilers yet. However, the important part is taking infrastructure from the recently-cleaned-up tests/tcg/configure.sh, and moving it in the main configure script so that others can use it.
tests/tcg is actually very close to being buildable as a standalone project, so I actually expect the compiler tests to move back to tests/tcg, as a "configure" script of sorts which would run at Make time after the docker images are built. The "Cygnus" (GCC/binutils/gdb) tree has a similar idea of "configure" doing only bare-bones tree-wide configuration, with the rest left for Make time; so that's where I took inspiration from.
Paolo
Paolo Bonzini (12):
tests/tcg: merge configure.sh back into main configure script
configure: add missing cross compiler fallbacks
configure: handle host compiler in probe_target_compiler
configure: introduce --cross-prefix-*=
configure: include more binutils in tests/tcg makefile configure, meson: move symlinking of ROMs to meson
configure: move symlink configuration earlier
configure: enable cross-compilation of s390-ccw pc-bios/optionrom: detect -fno-pie pc-bios/optionrom: compile with -Wno-array-bounds
configure: enable cross-compilation of optionrom
configure: enable cross compilation of vof
configure | 597 +++++++++++++++++++++++++++++++---- pc-bios/meson.build | 18 +- pc-bios/optionrom/Makefile | 8 +- pc-bios/s390-ccw/Makefile | 9 +- pc-bios/s390-ccw/netboot.mak | 2 +- pc-bios/vof/Makefile | 17 +- tests/Makefile.include | 3 +- tests/tcg/configure.sh | 376 ---------------------- 8 files changed, 564 insertions(+), 466 deletions(-) delete mode 100755 tests/tcg/configure.sh
Signature · 1 line
2.35.1