diff options
author | Fabiano Rosas <farosas@suse.de> | 2023-05-08 15:16:09 -0300 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-05-12 15:49:20 +0100 |
commit | f773a31ece66744705eda794752767df29f8c8d8 (patch) | |
tree | 37411aeab57e16c19fad1e6cf80e0e24308c2d98 /target/arm/Kconfig | |
parent | 9d8299bf93eb7c2ea5fd64716352b9454fa7fe8c (diff) | |
download | qemu-f773a31ece66744705eda794752767df29f8c8d8.zip qemu-f773a31ece66744705eda794752767df29f8c8d8.tar.gz qemu-f773a31ece66744705eda794752767df29f8c8d8.tar.bz2 |
target/arm: Select SEMIHOSTING when using TCG
Semihosting has been made a 'default y' entry in Kconfig, which does
not work because when building --without-default-devices, the
semihosting code would not be available.
Make semihosting unconditional when TCG is present.
Fixes: 29d9efca16 ("arm/Kconfig: Do not build TCG-only boards on a KVM-only build")
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230508181611.2621-2-farosas@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/Kconfig')
-rw-r--r-- | target/arm/Kconfig | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/target/arm/Kconfig b/target/arm/Kconfig index 39f05b6..3fffdcb 100644 --- a/target/arm/Kconfig +++ b/target/arm/Kconfig @@ -1,13 +1,7 @@ config ARM bool + select ARM_COMPATIBLE_SEMIHOSTING if TCG config AARCH64 bool select ARM - -# This config exists just so we can make SEMIHOSTING default when TCG -# is selected without also changing it for other architectures. -config ARM_SEMIHOSTING - bool - default y if TCG && ARM - select ARM_COMPATIBLE_SEMIHOSTING |