Peter Maydell <peter.mayd...@linaro.org> writes:
> On Mon, 19 Jul 2021 at 20:52, Alex Bennée <alex.ben...@linaro.org> wrote: >> >> We inadvertently added a symbol clash causing the build not to include >> the testboard needed for check-tcg. >> >> Fixes: f4063f9c31 ("meson: Introduce target-specific Kconfig") >> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> >> --- >> configs/devices/tricore-softmmu/default.mak | 1 + >> hw/tricore/Kconfig | 3 +-- >> hw/tricore/meson.build | 4 ++-- >> 3 files changed, 4 insertions(+), 4 deletions(-) > > Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> > as far as this fix goes (though maybe CONFIG_TRICORE_TESTBOARD would be > better?) > > But I still don't understand and would like to know: > (1) why doesn't CONFIG_TRICORE get set by Kconfig anyway, as > f4063f9c31 claims to be doing? It does (or should) thanks to meson: 'CONFIG_' + config_target['TARGET_ARCH'].to_upper() + '=y' > (2) what are the CONFIG_$ARCH flags for? Apart from this, we > don't seem to be using any of them, as demonstrated by the fact > that nothing else broke :-) They need to be declared in Kconfig otherwise minikconf complains about them not being defined when you pass it in. This is part of minikconf's sanity checking code. > > thanks > -- PMM -- Alex Bennée