Skip to content

Cross compilation changes for 7.2

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20configure: do not invoke as/ld directly for pc-bios/optionromconfigure pc-bios/optionrom/Makefile+9 -251 reply
2/20pc-bios/optionrom: detect CC options just oncepc-bios/optionrom/Makefile+25 -121 reply
3/20pc-bios/s390-ccw: detect CC options just oncepc-bios/s390-ccw/Makefile pc-bios/s390-ccw/netboot.mak+27 -130 replies
4/20vof: add distclean targetpc-bios/vof/Makefile+3 -10 replies
5/20build: add recursive distclean rulesMakefile+3 -20 replies
6/20configure: return status code from probe_target_compilerconfigure+6 -80 replies
7/20configure: store container engine in config-host.makconfigure tests/docker/Makefile.include+9 -40 replies
8/20tests: simplify Makefile invocation for tests/tcgconfigure tests/Makefile.include tests/tcg/Makefile.target+18 -160 replies
9/20tests/tcg: remove -f from Makefile invocationconfigure tests/Makefile.include+5 -50 replies
10/20tests/tcg: add distclean ruletests/Makefile.include tests/tcg/Makefile.target+14 -00 replies
11/20tests/tcg: unify ppc64 and ppc64le Makefilestests/tcg/ppc64/Makefile.target tests/tcg/ppc64/bcdsub.c tests/tcg/ppc64/byte_reverse.c +6 more+1 -260 replies
12/20tests/tcg: clean up calls to run-testtests/tcg/Makefile.target tests/tcg/aarch64/Makefile.softmmu-target tests/tcg/aarch64/Makefile.target +8 more+34 -430 replies
13/20tests/tcg: move compiler tests to Makefilesconfigure tests/tcg/Makefile.target tests/tcg/aarch64/Makefile.softmmu-target +3 more+38 -640 replies
14/20configure: move tests/tcg/Makefile.prereqs to root build directoryMakefile configure tests/Makefile.include+11 -120 replies
15/20configure: unify creation of cross-compilation Makefilesconfigure+43 -510 replies
16/20configure: cleanup creation of tests/tcg target configMakefile configure meson.build+7 -90 replies
17/20configure: build ROMs with container-based cross compilersconfigure+18 -120 replies
18/20pc-bios/optionrom: Adopt meson style Make outputpc-bios/optionrom/Makefile+7 -70 replies
19/20pc-bios/s390-ccw: Adopt meson style Make outputpc-bios/s390-ccw/Makefile pc-bios/s390-ccw/netboot.mak+16 -160 replies
20/20pc-bios/vof: Adopt meson style Make outputpc-bios/vof/Makefile+11 -40 replies

Reviews trailers per patch

2 of 20 patches have a Reviewed-by or Acked-by.

PatchAlex Bennée
1/20R-b
2/20R-b
3/20
4/20
5/20
6/20
7/20
8/20
9/20
10/20
11/20
12/20
13/20
14/20
15/20
16/20
17/20
18/20
19/20
20/20

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/20] Cross compilation changes for 7.2

This is a bunch of related changes leading up to building ROMs with container-based cross compilers:

- detect pc-bios/ CC options just once instead of using make's $(shell) function

- move CC option detection to tests/tcg Makefiles from QEMU's root configure

- put all configuration of tests/tcg in config files instead of using $(MAKE) VAR=value

- mostly unrelated, change pc-bios/ Make output to look like Meson's "Compiling foo.o".

Paolo Bonzini (20):
configure: do not invoke as/ld directly for pc-bios/optionrom pc-bios/optionrom: detect CC options just once pc-bios/s390-ccw: detect CC options just once
vof: add distclean target
build: add recursive distclean rules
configure: return status code from probe_target_compiler
configure: store container engine in config-host.mak
tests: simplify Makefile invocation for tests/tcg tests/tcg: remove -f from Makefile invocation tests/tcg: add distclean rule
tests/tcg: unify ppc64 and ppc64le Makefiles
tests/tcg: clean up calls to run-test
tests/tcg: move compiler tests to Makefiles
configure: move tests/tcg/Makefile.prereqs to root build directory
configure: unify creation of cross-compilation Makefiles
configure: cleanup creation of tests/tcg target config
configure: build ROMs with container-based cross compilers pc-bios/optionrom: Adopt meson style Make output pc-bios/s390-ccw: Adopt meson style Make output pc-bios/vof: Adopt meson style Make output

 Makefile                                      |  12 +-
 configure                                     | 251 +++++++-----------
 meson.build                                   |   2 +-
 pc-bios/optionrom/Makefile                    |  51 ++--
 pc-bios/s390-ccw/Makefile                     |  43 ++-
 pc-bios/s390-ccw/netboot.mak                  |  27 +-
 pc-bios/vof/Makefile                          |  19 +-
 tests/Makefile.include                        |  24 +-
 tests/docker/Makefile.include                 |   2 +-
 tests/tcg/Makefile.target                     |  34 ++-
 tests/tcg/aarch64/Makefile.softmmu-target     |  11 +-
 tests/tcg/aarch64/Makefile.target             |  15 +-
 tests/tcg/arm/Makefile.target                 |   9 +-
 tests/tcg/cris/Makefile.target                |   2 +-
 tests/tcg/i386/Makefile.softmmu-target        |   3 +-
 tests/tcg/i386/Makefile.target                |  11 +-
 tests/tcg/multiarch/Makefile.target           |  18 +-
 .../multiarch/system/Makefile.softmmu-target  |   2 +-
 tests/tcg/ppc64/Makefile.target               |   8 +-
 tests/tcg/{ppc64le => ppc64}/bcdsub.c         |   0
 tests/tcg/{ppc64le => ppc64}/byte_reverse.c   |   0
 tests/tcg/{ppc64le => ppc64}/mffsce.c         |   0
 tests/tcg/{ppc64le => ppc64}/mtfsf.c          |   0
 .../{ppc64le => ppc64}/non_signalling_xscv.c  |   0
 .../signal_save_restore_xer.c                 |   0
 tests/tcg/{ppc64le => ppc64}/xxspltw.c        |   0
 tests/tcg/ppc64le/Makefile.target             |  26 +-
 tests/tcg/s390x/Makefile.target               |   2 +-
 tests/tcg/x86_64/Makefile.softmmu-target      |   3 +-
 29 files changed, 275 insertions(+), 300 deletions(-)
 rename tests/tcg/{ppc64le => ppc64}/bcdsub.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/byte_reverse.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/mffsce.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/mtfsf.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/non_signalling_xscv.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/signal_save_restore_xer.c (100%)
 rename tests/tcg/{ppc64le => ppc64}/xxspltw.c (100%)
Signature · 1 line
2.37.1