On 18.11.20 23:53, Julius Werner wrote:
(Also, while we're on the subject of submodules causing pain, Nico... whenever I want to build test older Intel generations I have to first figure out again which of them don't rely on libgfxinit, or how to hack around in their Kconfigs to disable it, because unlike everything else you need to build coreboot there seems to be no way to get an ADA toolchain from crossgcc. All the problems we have been discussing in this thread can be worked around easily (for 99% of people's host machines, at least) by putting a simple CC=util/crossgcc/xgcc/bin/x86_64-elf-gcc on the command line, but if you try to build in an environment that doesn't bring its own ADA compiler you're just SOL. So I really don't think vboot deserves the award for most cumbersome submodule right now.)
Well, if you want us to pull our pants down and compare... numbers. I see 202 boards + variants in the tree that depend on vboot. There should be exactly 0 boards in the tree where you can't opt out from Ada. If you found some, please just tell me. Because I'm well aware that it's not 100% convenient and don't just pretend to but actually do take care that no hard dependency sneaks in.
Nico
PS. The anger aside, if you have a problem because your host GCC comes without Ada support, I'm happy to help. There are few distributions left that bootstrap their compiler without Ada support. I am only aware of reports from Gentoo users.