Message ID | 20230508181611.2621-2-farosas@suse.de |
---|---|
State | New |
Headers | show |
Series | target/arm: disable-tcg and without-default-devices fixes | expand |
On 5/8/23 19:16, Fabiano Rosas wrote: > 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> > --- > target/arm/Kconfig | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/target/arm/Kconfig b/target/arm/Kconfig index 39f05b6420..3fffdcb61b 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
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> --- target/arm/Kconfig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)