mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-18 18:32:23 -07:00
target/arm/cpu: compile file twice (user, system) only
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-11-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2a028eab39
commit
5ae609b629
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
arm_ss = ss.source_set()
|
||||
arm_common_ss = ss.source_set()
|
||||
arm_ss.add(files(
|
||||
'cpu.c',
|
||||
'debug_helper.c',
|
||||
'gdbstub.c',
|
||||
'helper.c',
|
||||
|
|
@ -20,6 +20,7 @@ arm_ss.add(when: 'TARGET_AARCH64',
|
|||
)
|
||||
|
||||
arm_system_ss = ss.source_set()
|
||||
arm_common_system_ss = ss.source_set()
|
||||
arm_system_ss.add(files(
|
||||
'arch_dump.c',
|
||||
'arm-powerctl.c',
|
||||
|
|
@ -30,6 +31,9 @@ arm_system_ss.add(files(
|
|||
))
|
||||
|
||||
arm_user_ss = ss.source_set()
|
||||
arm_user_ss.add(files('cpu.c'))
|
||||
|
||||
arm_common_system_ss.add(files('cpu.c'), capstone)
|
||||
|
||||
subdir('hvf')
|
||||
|
||||
|
|
@ -42,3 +46,5 @@ endif
|
|||
target_arch += {'arm': arm_ss}
|
||||
target_system_arch += {'arm': arm_system_ss}
|
||||
target_user_arch += {'arm': arm_user_ss}
|
||||
target_common_arch += {'arm': arm_common_ss}
|
||||
target_common_system_arch += {'arm': arm_common_system_ss}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue