hw/core: Move unconditional files to libsystem_ss, libuser_ss

Many of the headers used by these require CONFIG_USER_ONLY.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2025-03-12 19:45:02 -07:00
parent 3e57baa22e
commit 53d2354cec

View File

@ -26,7 +26,7 @@ system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c')) system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
system_ss.add(when: 'CONFIG_EIF', if_true: [files('eif.c'), zlib, libcbor, gnutls]) system_ss.add(when: 'CONFIG_EIF', if_true: [files('eif.c'), zlib, libcbor, gnutls])
system_ss.add(files( libsystem_ss.add(files(
'cpu-system.c', 'cpu-system.c',
'fw-path-provider.c', 'fw-path-provider.c',
'gpio.c', 'gpio.c',
@ -46,7 +46,7 @@ system_ss.add(files(
'vm-change-state-handler.c', 'vm-change-state-handler.c',
'clock-vmstate.c', 'clock-vmstate.c',
)) ))
user_ss.add(files( libuser_ss.add(files(
'cpu-user.c', 'cpu-user.c',
'qdev-user.c', 'qdev-user.c',
)) ))