diff mbox series

[PULL,11/16] target/m68k: Restrict semihosting to TCG

Message ID 20240722110413.118418-12-alex.bennee@linaro.org
State New
Headers show
Series [PULL,01/16] testing: bump to latest libvirt-ci | expand

Commit Message

Alex Bennée July 22, 2024, 11:04 a.m. UTC
From: Philippe Mathieu-Daudé <philmd@linaro.org>

The semihosting feature depends on TCG (due to the probe_access
API access). Although TCG is the single accelerator currently
available for the m68k target, use the Kconfig "imply" directive
which is more correct (if we were to support a different accel).

Reported-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240717105723.58965-5-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240718094523.1198645-12-alex.bennee@linaro.org>
diff mbox series

Patch

diff --git a/target/m68k/Kconfig b/target/m68k/Kconfig
index 9eae71486f..23aae24ebe 100644
--- a/target/m68k/Kconfig
+++ b/target/m68k/Kconfig
@@ -1,3 +1,3 @@ 
 config M68K
     bool
-    select SEMIHOSTING
+    imply SEMIHOSTING if TCG