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>
This commit is contained in:
Richard Henderson 2022-04-29 18:32:35 -07:00
parent 8ce5c64499
commit 259739ce74
1 changed files with 1 additions and 1 deletions

View 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',
))