Paolo Bonzini <[email protected]> writes: > On Fri, Dec 5, 2025 at 5:41 PM Alex Bennée <[email protected]> wrote: >> if test "$tcg" = "enabled"; then >> - echo "TCG_TESTS_TARGETS=$tcg_tests_targets" >> $config_host_mak >> + echo "TCG_TESTS_WITH_COMPILERS=$tcg_tests_with_compilers" >> >> $config_host_mak >> fi >> >> if test "$skip_meson" = no; then >> diff --git a/tests/Makefile.include b/tests/Makefile.include >> index d4dfbf3716d..7728098981d 100644 >> --- a/tests/Makefile.include >> +++ b/tests/Makefile.include >> @@ -37,6 +37,15 @@ export SRC_PATH >> >> SPEED = quick >> >> + >> +# TCG_TESTS_WITH_COMPILERS represents the test targets we have cross >> compiler >> +# support for, CONFIGURED_TEST_TARGETS it what meson has finally >> +# configured having rejected stuff we can't build. >> +CONFIGURED_TCG_TARGETS=$(patsubst %-config-target.h, %, $(wildcard >> *-config-target.h)) > > Please use something like > > echo "TARGET_DIRS=$target_list" >> $config_host_mak > > instead. Using $(wildcard) risks picking stale files.
Can we do that from meson? The problem is configure doesn't have enough information to know what the final target_list is. > > Paolo -- Alex Bennée Virtualisation Tech Lead @ Linaro
