'monitor.c' can be built once for all qemu-system-sh4* binaries.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
---
target/sh4/meson.build | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/target/sh4/meson.build b/target/sh4/meson.build
index 221700bcf8c..1327507dfc8 100644
--- a/target/sh4/meson.build
+++ b/target/sh4/meson.build
@@ -7,8 +7,10 @@ sh4_ss.add(files(
'translate.c',
))
-sh4_system_ss = ss.source_set()
-sh4_system_ss.add(files('monitor.c'))
+sh4_common_system_ss = ss.source_set()
+sh4_common_system_ss.add(files(
+ 'monitor.c',
+))
target_arch += {'sh4': sh4_ss}
-target_common_system_arch += {'sh4': sh4_system_ss}
+target_common_system_arch += {'sh4': sh4_common_system_ss}
--
2.52.0