[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 02/34] meson: Move CONFIG_TCG_INTERPRETER to config_host
From: |
Richard Henderson |
Subject: |
[PATCH v3 02/34] meson: Move CONFIG_TCG_INTERPRETER to config_host |
Date: |
Thu, 1 Dec 2022 21:39:26 -0800 |
Like CONFIG_TCG, the enabled method of execution is a host property
not a guest property. This exposes the define to compile-once files.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 5c6b5a1c75..23a3625abc 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'
@@ -2545,9 +2546,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 for-8.0 v3 00/34] tcg misc patches, Richard Henderson, 2022/12/02
- [PATCH v3 02/34] meson: Move CONFIG_TCG_INTERPRETER to config_host,
Richard Henderson <=
- [PATCH v3 03/34] tcg/s390x: Fix coding style, Richard Henderson, 2022/12/02
- [PATCH v3 04/34] tcg: Cleanup trailing whitespace, Richard Henderson, 2022/12/02
- [PATCH v3 05/34] tcg: Fix tcg_reg_alloc_dup*, Richard Henderson, 2022/12/02
- [PATCH v3 06/34] tcg: Centralize updates to reg_to_temp, Richard Henderson, 2022/12/02
- [PATCH v3 01/34] tcg: convert tcg/README to rst, Richard Henderson, 2022/12/02
- [PATCH v3 07/34] tcg: Remove check_regs, Richard Henderson, 2022/12/02
- [PATCH v3 10/34] tcg: Remove TCG_TARGET_STACK_GROWSUP, Richard Henderson, 2022/12/02
- [PATCH v3 09/34] tcg: Introduce paired register allocation, Richard Henderson, 2022/12/02