[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

meson, NEED_CPU_H, CONFIG_TCG and tests/

From: Claudio Fontana
Subject: meson, NEED_CPU_H, CONFIG_TCG and tests/
Date: Fri, 19 Feb 2021 14:04:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

Hi Paolo,

currently we have use of CONFIG_TCG in tests/,

but is that variable available at all in there?

I have to adapt some qemu/tests/qtest/* to work also without tcg for ARM,

but I think I am not seeing CONFIG_TCG filtering through, and I wonder whether 
all the checks in there are actually "wrong".

Looking at meson.build it would seem to me that only stuff in target/ would be 
able to see CONFIG_TCG,
as a result of

foreach target : target_dirs
  config_target = config_target_mak[target]
  target_name = config_target['TARGET_NAME']
  arch = config_target['TARGET_BASE_ARCH']
  arch_srcs = [config_target_h[target]]
  arch_deps = []
  c_args = ['-DNEED_CPU_H',

But how could tests see this?



Claudio Fontana
Engineering Manager Virtualization, SUSE Labs Core

SUSE Software Solutions Italy Srl

reply via email to

[Prev in Thread] Current Thread [Next in Thread]