OSDN Git Service

semihosting: Improve condition for config.c and console.c
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 30 Apr 2022 01:32:35 +0000 (18:32 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jun 2022 23:05:06 +0000 (04:35 +0530)
While CONFIG_SEMIHOSTING is currently only set for softmmu,
this will not continue to be true.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
semihosting/meson.build

index ea8090a..4344e43 100644 (file)
@@ -1,4 +1,4 @@
-specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files(
+specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SOFTMMU'], if_true: files(
   'config.c',
   'console.c',
 ))