@samitouri / QOSamiQemu / commits / 69fe6185ff

target/ppc: Move user_only_helper.c to target_user_arch[] source set

Since commit 46369b50ee3 ("meson: Introduce meson_user_arch source set for arch-specific user-mode") using target_user_arch[] is preferred because clearer, and no need to filter on CONFIG_USER_ONLY. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-2-philmd@linaro.org>

Philippe Mathieu-Daudé committed Feb 18, 2026 at 09:38 UTC 69fe6185fff9cc6497b679cf9fc0421269677b1a
1 file changed +5 -1
target/ppc/meson.build
+5 -1
@@ -31,7 +31,10 @@ gen = [
31 ]
32 ppc_ss.add(when: 'CONFIG_TCG', if_true: gen)
33
34 -ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
34 +ppc_user_ss = ss.source_set()
35 +ppc_user_ss.add(files(
36 + 'user_only_helper.c',
37 +))
38
39 ppc_system_ss = ss.source_set()
40 ppc_system_ss.add(files(
@@ -57,4 +60,5 @@ ppc_system_ss.add(when: 'TARGET_PPC64', if_true: files(
60 ))
61
62 target_arch += {'ppc': ppc_ss}
63 +target_user_arch += {'ppc': ppc_user_ss}
64 target_system_arch += {'ppc': ppc_system_ss}