On Mon, Feb 13, 2023 at 04:15:52PM +0100, Arnd Bergmann wrote:
We could still combine this with another Kconfig option that
just hides all the real SoC options, which would turn this fragment
into a one-line file and avoid having to update it whenever platforms
get added.
I think if people are OK with this approach we'll want to extend
it so that it's cutting out more than just the platforms -
there's quite a lot of drivers and subsystems that aren't
platform specific but are clearly not something we'd want as
default for running in a virtual environment, enough to make a
difference to build times. That doesn't mean that a "disable all
the platform support" Kconfig isn't useful, just that I don't
think we'd want this to be a one liner long term.