[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/31] meson: Move CONFIG_TCG_INTERPRETER to config_host
From: |
Richard Henderson |
Subject: |
[PATCH 05/31] meson: Move CONFIG_TCG_INTERPRETER to config_host |
Date: |
Thu, 20 Oct 2022 21:52:16 +1000 |
Like CONFIG_TCG, the enabled method of execution is a host property
not a guest property. This exposes the define to compile-once files.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
meson.build | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 1ec3f72edc..64c87d45a5 100644
--- a/meson.build
+++ b/meson.build
@@ -469,6 +469,7 @@ if get_option('tcg').allowed()
endif
if get_option('tcg_interpreter')
tcg_arch = 'tci'
+ config_host += { 'CONFIG_TCG_INTERPRETER': 'y' }
elif host_arch == 'x86_64'
tcg_arch = 'i386'
elif host_arch == 'ppc64'
@@ -2507,9 +2508,6 @@ foreach target : target_dirs
if sym == 'CONFIG_TCG' or target in accelerator_targets.get(sym, [])
config_target += { sym: 'y' }
config_all += { sym: 'y' }
- if sym == 'CONFIG_TCG' and tcg_arch == 'tci'
- config_target += { 'CONFIG_TCG_INTERPRETER': 'y' }
- endif
if target in modular_tcg
config_target += { 'CONFIG_TCG_MODULAR': 'y' }
else
--
2.34.1
- [PATCH 24/31] tcg: Introduce tcg_out_addi_ptr, (continued)
- [PATCH 24/31] tcg: Introduce tcg_out_addi_ptr, Richard Henderson, 2022/10/20
- [PATCH 31/31] tcg: Add tcg_gen_extr_i128_i64, tcg_gen_concat_i64_i128, Richard Henderson, 2022/10/20
- [PATCH 17/31] tcg: Use TCG_CALL_ARG_EVEN for TCI special case, Richard Henderson, 2022/10/20
- [PATCH 22/31] tcg: Add TCG_CALL_{RET,ARG}_NORMAL_4, Richard Henderson, 2022/10/20
- [PATCH 30/31] tcg: Add temp allocation for TCGv_i128, Richard Henderson, 2022/10/20
- [PATCH 03/31] tcg/s390x: Use register pair allocation for div and mulu2, Richard Henderson, 2022/10/20
- [PATCH 08/31] target/sparc: Avoid TCGV_{LOW,HIGH}, Richard Henderson, 2022/10/20
- [PATCH 28/31] include/qemu/int128: Use Int128 structure for TCI, Richard Henderson, 2022/10/20
- [PATCH 06/31] tcg: Remove TCG_TARGET_STACK_GROWSUP, Richard Henderson, 2022/10/20
- [PATCH 05/31] meson: Move CONFIG_TCG_INTERPRETER to config_host,
Richard Henderson <=
- [PATCH 13/31] tcg: Introduce tcg_type_size, Richard Henderson, 2022/10/20
- [PATCH 26/31] tcg: Introduce tcg_target_call_oarg_reg, Richard Henderson, 2022/10/20
- [PATCH 29/31] tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128, Richard Henderson, 2022/10/20