Re: [PATCH net-next] net: kbuild: Don't default net vendor configs to y

From: Arnd Bergmann
Date: Wed Feb 02 2022 - 11:41:52 EST


On Wed, Feb 2, 2022 at 4:17 PM Richard Cochran <richardcochran@xxxxxxxxx> wrote:
>
> On Tue, Feb 01, 2022 at 10:49:50PM -0800, Saeed Mahameed wrote:
> > I can't think of a clever easily verifiable way to map boards to their VENDORS.
> > Add to that dispersing the VENDORS configs accurately.
>
> Just an idea...
>
> 1. make foo_defconfig
> 2. for each vendor, do scripts/config --disable vendor
> 3. make savedefconfig
> 4. compare defconfig with foo_defconfig
> difference means some MAC was removed

This needs an extra 'savedefconfig' step in the beginning, as a lot of
the defconfig
files are already different from what you get after savedefconfig, both in the
order of options, and in options that got renamed or removed over time.

Arnd