Jelajahi Sumber

semihosting: Improve condition for config.c and console.c

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>
Richard Henderson 3 tahun lalu
induk
melakukan
259739ce74
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      semihosting/meson.build

+ 1 - 1
semihosting/meson.build

@@ -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',
   'config.c',
   'console.c',
   'console.c',
 ))
 ))