[PATCH v2 32/42] plugins: Move api.c, core.c to libuser_ss, libsystem_ss

Richard Henderson posted 42 patches 2 weeks, 1 day ago
[PATCH v2 32/42] plugins: Move api.c, core.c to libuser_ss, libsystem_ss
Posted by Richard Henderson 2 weeks, 1 day ago
Headers used by these files require CONFIG_USER_ONLY.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 plugins/meson.build | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/meson.build b/plugins/meson.build
index 3be8245a69..5383c7b88b 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -61,5 +61,8 @@ endif
 user_ss.add(files('user.c', 'api-user.c'))
 system_ss.add(files('system.c', 'api-system.c'))
 
-common_ss.add(files('loader.c', 'api.c', 'core.c'))
+libuser_ss.add(files('api.c', 'core.c'))
+libsystem_ss.add(files('api.c', 'core.c'))
+
+common_ss.add(files('loader.c'))
 
-- 
2.43.0
Re: [PATCH v2 32/42] plugins: Move api.c, core.c to libuser_ss, libsystem_ss
Posted by Pierrick Bouvier 2 weeks, 1 day ago
On 3/18/25 14:31, Richard Henderson wrote:
> Headers used by these files require CONFIG_USER_ONLY.
> 
> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   plugins/meson.build | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/plugins/meson.build b/plugins/meson.build
> index 3be8245a69..5383c7b88b 100644
> --- a/plugins/meson.build
> +++ b/plugins/meson.build
> @@ -61,5 +61,8 @@ endif
>   user_ss.add(files('user.c', 'api-user.c'))
>   system_ss.add(files('system.c', 'api-system.c'))
>   
> -common_ss.add(files('loader.c', 'api.c', 'core.c'))
> +libuser_ss.add(files('api.c', 'core.c'))
> +libsystem_ss.add(files('api.c', 'core.c'))
> +
> +common_ss.add(files('loader.c'))
>   

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>