[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v12 03/65] arm: tcg: only build under CONFIG_TCG
From: |
Claudio Fontana |
Subject: |
[RFC v12 03/65] arm: tcg: only build under CONFIG_TCG |
Date: |
Fri, 26 Mar 2021 20:35:59 +0100 |
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
---
target/arm/tcg/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build
index 0bd4e9d954..3b4146d079 100644
--- a/target/arm/tcg/meson.build
+++ b/target/arm/tcg/meson.build
@@ -12,9 +12,9 @@ gen = [
decodetree.process('t16.decode', extra_args: ['-w', '16',
'--static-decode=disas_t16']),
]
-arm_ss.add(gen)
+arm_ss.add(when: 'CONFIG_TCG', if_true: gen)
-arm_ss.add(files(
+arm_ss.add(when: 'CONFIG_TCG', if_true: files(
'translate.c',
'helper.c',
'iwmmxt_helper.c',
@@ -28,7 +28,7 @@ arm_ss.add(files(
'debug_helper.c',
))
-arm_ss.add(when: 'TARGET_AARCH64', if_true: files(
+arm_ss.add(when: ['TARGET_AARCH64','CONFIG_TCG'], if_true: files(
'translate-a64.c',
'translate-sve.c',
'helper-a64.c',
--
2.26.2
- [RFC v12 00/65] arm cleanup experiment for kvm-only build, Claudio Fontana, 2021/03/26
- [RFC v12 01/65] target/arm: move translate modules to tcg/, Claudio Fontana, 2021/03/26
- [RFC v12 02/65] target/arm: move helpers to tcg/, Claudio Fontana, 2021/03/26
- [RFC v12 04/65] target/arm: tcg: add sysemu and user subdirs, Claudio Fontana, 2021/03/26
- [RFC v12 03/65] arm: tcg: only build under CONFIG_TCG,
Claudio Fontana <=
- [RFC v12 06/65] target/arm: tcg: move sysemu-only parts of debug_helper, Claudio Fontana, 2021/03/26
- [RFC v12 05/65] target/arm: tcg: split mte_helper user-only and sysemu code, Claudio Fontana, 2021/03/26
- [RFC v12 07/65] target/arm: tcg: split tlb_helper user-only and sysemu-only parts, Claudio Fontana, 2021/03/26
- [RFC v12 09/65] target/arm: only build psci for TCG, Claudio Fontana, 2021/03/26
- [RFC v12 10/65] target/arm: split off cpu-sysemu.c, Claudio Fontana, 2021/03/26
- [RFC v12 08/65] target/arm: tcg: split m_helper user-only and sysemu-only parts, Claudio Fontana, 2021/03/26
- [RFC v12 11/65] target/arm: tcg: fix comment style before move to cpu-mmu, Claudio Fontana, 2021/03/26
- [RFC v12 15/65] target/arm: move cpu definitions to common cpu module, Claudio Fontana, 2021/03/26