Re: [RFC] Simplifying kernel configuration for distro issues
On Sat, Jul 14, 2012 at 12:18 AM, Ben Hutchings <firstname.lastname@example.org> wrote:
>> - distro/Kconfig:
>> config DISTRO_REQUIREMENTS
>> bool "Pick minimal distribution requirements"
>> choice DISTRO
>> prompt "Distribution"
>> depends on DISTRO_REQUIREMENTS
>> config FEDORA
>> config OPENSUSE
>> config UBUNTU
>> and then depending on the DISTRO config, we'd include one of the
>> distro-specific ones with lists of supported distro versions and then
>> the random config settings for that version:
> You might also want to *un*select some options like
> CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 that need to be
> set one way or the other depending on the version of udev. (I think
> it's possible to kluge this with the addition of a hidden negative
> config option.)
> How about stuff like NET and INET, that every distro will need and yet
> is configurable even without EXPERT?
Yeah, I'm sure once distro configs are created we'll find quite a bit
similarity in them. We could create Kconfig.distro that has all the
common options selected and then have the per distro Kconfig files
select that. Sure we'd need to watch Kconfig.distro (or
Kconfig.min-distro) for changes, but I'd hope the distro maintainers
would sign up to maintain these things upstream and be keeping an eye
on it anyway.