[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 12/49] target/arm/cpu32-stubs.c: compile file twice (user, sys
From: |
Pierrick Bouvier |
Subject: |
[PATCH v7 12/49] target/arm/cpu32-stubs.c: compile file twice (user, system) |
Date: |
Wed, 7 May 2025 16:42:03 -0700 |
It could be squashed with commit introducing it, but I would prefer to
introduce target/arm/cpu.c first.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/arm/meson.build | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/target/arm/meson.build b/target/arm/meson.build
index 89e305eb56a..de214fe5d56 100644
--- a/target/arm/meson.build
+++ b/target/arm/meson.build
@@ -11,13 +11,9 @@ arm_ss.add(zlib)
arm_ss.add(when: 'CONFIG_KVM', if_true: files('hyp_gdbstub.c', 'kvm.c'),
if_false: files('kvm-stub.c'))
arm_ss.add(when: 'CONFIG_HVF', if_true: files('hyp_gdbstub.c'))
-arm_ss.add(when: 'TARGET_AARCH64',
- if_true: files(
- 'cpu64.c',
- 'gdbstub64.c'),
- if_false: files(
- 'cpu32-stubs.c'),
-)
+arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
+ 'cpu64.c',
+ 'gdbstub64.c'))
arm_system_ss = ss.source_set()
arm_common_system_ss = ss.source_set()
@@ -32,8 +28,12 @@ arm_system_ss.add(files(
arm_user_ss = ss.source_set()
arm_user_ss.add(files('cpu.c'))
+arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files(
+ 'cpu32-stubs.c'))
arm_common_system_ss.add(files('cpu.c'), capstone)
+arm_common_system_ss.add(when: 'TARGET_AARCH64', if_false: files(
+ 'cpu32-stubs.c'))
subdir('hvf')
--
2.47.2
- [PATCH v7 00/49] single-binary: compile target/arm twice, Pierrick Bouvier, 2025/05/07
- [PATCH v7 02/49] include/system/hvf: missing vaddr include, Pierrick Bouvier, 2025/05/07
- [PATCH v7 01/49] target/arm: Replace target_ulong -> vaddr for HWBreakpoint, Pierrick Bouvier, 2025/05/07
- [PATCH v7 03/49] meson: add common libs for target and target_system, Pierrick Bouvier, 2025/05/07
- [PATCH v7 05/49] target/arm/kvm-stub: add kvm_arm_reset_vcpu stub, Pierrick Bouvier, 2025/05/07
- [PATCH v7 11/49] target/arm/cpu: compile file twice (user, system) only, Pierrick Bouvier, 2025/05/07
- [PATCH v7 12/49] target/arm/cpu32-stubs.c: compile file twice (user, system),
Pierrick Bouvier <=
- [PATCH v7 14/49] target/arm/helper: use vaddr instead of target_ulong for exception_pc_alignment, Pierrick Bouvier, 2025/05/07
- [PATCH v7 04/49] target/arm: move kvm stubs and remove CONFIG_KVM from kvm_arm.h, Pierrick Bouvier, 2025/05/07
- [PATCH v7 06/49] target/arm/cpu: move arm_cpu_kvm_set_irq to kvm.c, Pierrick Bouvier, 2025/05/07
- [PATCH v7 09/49] target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common, Pierrick Bouvier, 2025/05/07
- [PATCH v7 10/49] target/arm/cpu: remove TARGET_AARCH64 in arm_cpu_finalize_features, Pierrick Bouvier, 2025/05/07
- [PATCH v7 17/49] target/arm/debug_helper: only include common helpers, Pierrick Bouvier, 2025/05/07
- [PATCH v7 15/49] target/arm/helper: use vaddr instead of target_ulong for probe_access, Pierrick Bouvier, 2025/05/07
- [PATCH v7 16/49] target/arm/helper: extract common helpers, Pierrick Bouvier, 2025/05/07
- [PATCH v7 24/49] target/arm/helper: compile file twice (user, system), Pierrick Bouvier, 2025/05/07
- [PATCH v7 21/49] target/arm/helper: replace target_ulong by vaddr, Pierrick Bouvier, 2025/05/07