arm/Kconfig: Do not build TCG-only boards on a KVM-only build
commit29d9efca16080211f107b540f04d1ed3c12c63b0
authorFabiano Rosas <farosas@suse.de>
Wed, 26 Apr 2023 18:00:11 +0000 (26 15:00 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 May 2023 09:54:32 +0000 (2 10:54 +0100)
tree051d7cef8ae4d7e3d8b969bcf818fddc18177e20
parent99f2f2ad9ee440b50fd33468f234d3287f8a2cfd
arm/Kconfig: Do not build TCG-only boards on a KVM-only build

Move all the CONFIG_FOO=y from default.mak into "default y if TCG"
statements in Kconfig. That way they won't be selected when
CONFIG_TCG=n.

I'm leaving CONFIG_ARM_VIRT in default.mak because it allows us to
keep the two default.mak files not empty and keep aarch64-default.mak
including arm-default.mak. That way we don't surprise anyone that's
used to altering these files.

With this change we can start building with --disable-tcg.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230426180013.14814-12-farosas@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
configs/devices/aarch64-softmmu/default.mak
configs/devices/arm-softmmu/default.mak
hw/arm/Kconfig