Paolo Bonzini <pbonz...@redhat.com> writes: > Some boards, notably ARM boards that use TCG, are already using > "default y". This was done to remove TCG-only boards from > a KVM-only build in commit 29d9efca16 (2023-04-26). > > This series converts all other boards to that, so that the requirements > of each board are clearer in the Kconfig files. > > For now, the only such use is MIPS's 64-bit and endianness requirements. > In the future, it will be possible to enable/disable boards based > on the presence of required libraries, for example libfdt, or > their deprecation status. > > There is an important difference in that Kconfig symbols for boards > have to be enabled in a --without-default-devices build, similar to > devices.
And how do we make that happen? > > Paolo > > Paolo Bonzini (22): > configs: list "implied" device groups in the default configs > alpha: switch boards to "default y" > arm: switch boards to "default y" > avr: switch boards to "default y" > cris: switch boards to "default y" > hppa: switch boards to "default y" > i386: switch boards to "default y" > loongarch: switch boards to "default y" > m68k: switch boards to "default y" > microblaze: switch boards to "default y" > meson: make target endianneess available to Kconfig > mips: switch boards to "default y" > nios2: switch boards to "default y" > openrisc: switch boards to "default y" > ppc: switch boards to "default y" > riscv: switch boards to "default y" > rx: switch boards to "default y" > s390x: switch boards to "default y" > sh4: switch boards to "default y" > sparc: switch boards to "default y" > tricore: switch boards to "default y" > xtensa: switch boards to "default y" > > configs/devices/alpha-softmmu/default.mak | 5 ++-- > configs/devices/arm-softmmu/default.mak | 5 +++- > configs/devices/avr-softmmu/default.mak | 5 ++-- > configs/devices/cris-softmmu/default.mak | 5 ++-- > configs/devices/hppa-softmmu/default.mak | 5 ++-- > configs/devices/i386-softmmu/default.mak | 11 ++++--- > .../devices/loongarch64-softmmu/default.mak | 6 +++- > configs/devices/m68k-softmmu/default.mak | 13 ++++---- > .../devices/microblaze-softmmu/default.mak | 9 +++--- > configs/devices/mips-softmmu/common.mak | 5 ++-- > configs/devices/mips64-softmmu/default.mak | 4 ++- > configs/devices/mips64el-softmmu/default.mak | 10 ++++--- > configs/devices/nios2-softmmu/default.mak | 7 ++--- > configs/devices/or1k-softmmu/default.mak | 9 ++++-- > configs/devices/ppc-softmmu/default.mak | 30 +++++++++++-------- > configs/devices/ppc64-softmmu/default.mak | 8 ++--- > configs/devices/riscv32-softmmu/default.mak | 17 +++++------ > configs/devices/riscv64-softmmu/default.mak | 19 ++++++------ > configs/devices/rx-softmmu/default.mak | 3 +- > configs/devices/s390x-softmmu/default.mak | 5 ++-- > configs/devices/sh4-softmmu/default.mak | 7 ++--- > configs/devices/sparc-softmmu/default.mak | 7 ++--- > configs/devices/sparc64-softmmu/default.mak | 7 ++--- > configs/devices/tricore-softmmu/default.mak | 7 +++-- > configs/devices/xtensa-softmmu/default.mak | 11 ++++--- > meson.build | 12 ++++---- > hw/alpha/Kconfig | 2 ++ > hw/arm/Kconfig | 2 ++ > hw/avr/Kconfig | 3 ++ > hw/cris/Kconfig | 2 ++ > hw/hppa/Kconfig | 2 ++ > hw/i386/Kconfig | 10 ++++++- > hw/loongarch/Kconfig | 2 ++ > hw/m68k/Kconfig | 10 +++++++ > hw/microblaze/Kconfig | 6 ++++ > hw/mips/Kconfig | 12 ++++++++ > hw/nios2/Kconfig | 9 +++--- > hw/openrisc/Kconfig | 4 +++ > hw/ppc/Kconfig | 26 ++++++++++++++++ > hw/riscv/Kconfig | 14 +++++++++ > hw/rx/Kconfig | 2 ++ > hw/s390x/Kconfig | 2 ++ > hw/sh4/Kconfig | 4 +++ > hw/sparc/Kconfig | 4 +++ > hw/sparc64/Kconfig | 4 +++ > hw/tricore/Kconfig | 4 +++ > hw/xtensa/Kconfig | 6 ++++ > target/Kconfig | 3 ++ > target/i386/Kconfig | 1 + > target/ppc/Kconfig | 1 + > 50 files changed, 252 insertions(+), 115 deletions(-)