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.Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/ppc/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/ppc/meson.build b/target/ppc/meson.build index 8eed1fa40ca..b0d708bb519 100644 --- a/target/ppc/meson.build +++ b/target/ppc/meson.build @@ -31,7 +31,10 @@ gen = [ ] ppc_ss.add(when: 'CONFIG_TCG', if_true: gen) -ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c')) +ppc_user_ss = ss.source_set() +ppc_user_ss.add(files( + 'user_only_helper.c', +)) ppc_system_ss = ss.source_set() ppc_system_ss.add(files( @@ -57,4 +60,5 @@ ppc_system_ss.add(when: 'TARGET_PPC64', if_true: files( )) target_arch += {'ppc': ppc_ss} +target_user_arch += {'ppc': ppc_user_ss} target_system_arch += {'ppc': ppc_system_ss} -- 2.52.0
