From: Richard Henderson Date: Sat, 30 Apr 2022 01:32:35 +0000 (-0700) Subject: semihosting: Improve condition for config.c and console.c X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=259739ce74300ae9e5df7c8c3a8a672341af5546;p=qmiga%2Fqemu.git 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 Signed-off-by: Richard Henderson --- diff --git a/semihosting/meson.build b/semihosting/meson.build index ea8090abe3..4344e43fb9 100644 --- a/semihosting/meson.build +++ b/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', 'console.c', ))