lkml.org 
[lkml]   [2012]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] Simplifying kernel configuration for distro issues
From
On Sat, Jul 14, 2012 at 12:18 AM, Ben Hutchings <ben@decadent.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


\
 
 \ /
  Last update: 2012-07-14 15:21    [W:0.167 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site