target/sh4: Build 'monitor.c' once for system binaries
'monitor.c' can be built once for all qemu-system-sh4* binaries. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-40-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Feb 19, 2026 at 09:42 UTC
1c94da7a340225d958ce67c10725b721998474f9
1 file changed
+5
-3
target/sh4/meson.build
+5
-3
@@ -7,8 +7,10 @@ sh4_ss.add(files(
7
'translate.c',
8
))
9
10
-sh4_system_ss = ss.source_set()
11
-sh4_system_ss.add(files('monitor.c'))
10
+sh4_common_system_ss = ss.source_set()
11
+sh4_common_system_ss.add(files(
12
+ 'monitor.c',
13
+))
14
15
target_arch += {'sh4': sh4_ss}
14
-target_common_system_arch += {'sh4': sh4_system_ss}
16
+target_common_system_arch += {'sh4': sh4_common_system_ss}