[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+5PVA4iOvQyBXr3NHd0M+kpnqqCtVjRR+QExe632JLc5NsQJA@mail.gmail.com>
Date: Sat, 14 Jul 2012 08:35:50 -0400
From: Josh Boyer <jwboyer@...il.com>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Dave Jones <davej@...hat.com>,
Greg Kroah-Hartman <greg@...ah.com>,
Ubuntu Kernel Team <kernel-team@...ts.ubuntu.com>,
Debian Kernel Team <debian-kernel@...ts.debian.org>,
OpenSUSE Kernel Team <opensuse-kernel@...nsuse.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] Simplifying kernel configuration for distro issues
On Sat, Jul 14, 2012 at 12:18 AM, Ben Hutchings <ben@...adent.org.uk> 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
>> ...
>>
>> endchoice
>>
>> 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.
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists