arm_common_ss = ss.source_set()
arm_common_system_ss = ss.source_set()
arm_system_ss = ss.source_set()
+arm_stubs_ss = ss.source_set()
arm_user_ss = ss.source_set()
arm_common_system_ss.add(files('gdbstub.c'))
arm_system_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))
arm_user_ss.add(files('cpu.c'))
-arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files(
- 'cpu32-stubs.c',
-))
+arm_stubs_ss.add(files('cpu32-stubs.c'))
arm_user_ss.add(files(
'cpregs-gcs.c',
'cpregs-pmu.c',
if_true: files('common-semi-target.c'))
arm_common_system_ss.add(files('cpu.c'))
-arm_common_system_ss.add(when: 'TARGET_AARCH64', if_false: files(
- 'cpu32-stubs.c'))
arm_common_system_ss.add(when: 'CONFIG_KVM', if_false: files('kvm-stub.c'))
arm_common_system_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING',
if_true: files('common-semi-target.c'))
target_user_arch += {'arm': arm_user_ss}
target_common_arch += {'arm': arm_common_ss}
target_common_system_arch += {'arm': arm_common_system_ss}
+target_stubs_arch += {'arm': arm_stubs_ss}
]
arm_ss.add(when: 'TARGET_AARCH64', if_true: gen_a64)
-arm_ss.add(when: 'TARGET_AARCH64', if_false: files('stubs32.c'))
+arm_stubs_ss.add(files('stubs32.c'))
arm_ss.add(files(
'cpu32.c',