[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 20/58] target/arm/cpu: compile file twice (user, system) only
From: |
Peter Maydell |
Subject: |
[PULL 20/58] target/arm/cpu: compile file twice (user, system) only |
Date: |
Thu, 15 May 2025 11:25:08 +0100 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
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>
---
target/arm/meson.build | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/target/arm/meson.build b/target/arm/meson.build
index c39ddc4427b..89e305eb56a 100644
--- a/target/arm/meson.build
+++ b/target/arm/meson.build
@@ -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}
--
2.43.0
- [PULL 13/58] meson: add common libs for target and target_system, (continued)
- [PULL 13/58] meson: add common libs for target and target_system, Peter Maydell, 2025/05/15
- [PULL 09/58] hw/arm: Replace TABs for spaces in OMAP board and device code, Peter Maydell, 2025/05/15
- [PULL 14/58] target/arm: move kvm stubs and remove CONFIG_KVM from kvm_arm.h, Peter Maydell, 2025/05/15
- [PULL 17/58] target/arm/cpu: remove TARGET_BIG_ENDIAN dependency, Peter Maydell, 2025/05/15
- [PULL 15/58] target/arm/kvm-stub: add kvm_arm_reset_vcpu stub, Peter Maydell, 2025/05/15
- [PULL 21/58] target/arm/cpu32-stubs.c: compile file twice (user, system), Peter Maydell, 2025/05/15
- [PULL 19/58] target/arm/cpu: remove TARGET_AARCH64 in arm_cpu_finalize_features, Peter Maydell, 2025/05/15
- [PULL 18/58] target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common, Peter Maydell, 2025/05/15
- [PULL 22/58] tcg: add vaddr type for helpers, Peter Maydell, 2025/05/15
- [PULL 24/58] target/arm/helper: use vaddr instead of target_ulong for probe_access, Peter Maydell, 2025/05/15
- [PULL 20/58] target/arm/cpu: compile file twice (user, system) only,
Peter Maydell <=
- [PULL 28/58] target/arm/debug_helper: compile file twice (user, system), Peter Maydell, 2025/05/15
- [PULL 23/58] target/arm/helper: use vaddr instead of target_ulong for exception_pc_alignment, Peter Maydell, 2025/05/15
- [PULL 27/58] target/arm/debug_helper: remove target_ulong, Peter Maydell, 2025/05/15
- [PULL 38/58] target/arm/cortex-regs: compile file once (system), Peter Maydell, 2025/05/15
- [PULL 32/58] target/arm/helper: remove remaining TARGET_AARCH64, Peter Maydell, 2025/05/15
- [PULL 25/58] target/arm/helper: extract common helpers, Peter Maydell, 2025/05/15
- [PULL 30/58] target/arm/helper: replace target_ulong by vaddr, Peter Maydell, 2025/05/15
- [PULL 26/58] target/arm/debug_helper: only include common helpers, Peter Maydell, 2025/05/15
- [PULL 29/58] target/arm/helper: restrict include to common helpers, Peter Maydell, 2025/05/15
- [PULL 35/58] target/arm/arch_dump: remove TARGET_AARCH64 conditionals, Peter Maydell, 2025/05/15