lkml.org 
[lkml]   [2008]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: use defconfig as last resort


On Sat, 24 May 2008, Sam Ravnborg wrote:
>
> When using "make oldconfig" with no .config
> present try the list from init/Kconfig DEFCONFIG_LIST
> before resorting to use one of the defconfigs.

Hmm. Why does placement matter here?

Also:

> +config DEFCONFIG_LIST
> + string
> + depends on X86_32
> + option defconfig_list
> + default "arch/x86/configs/i386_defconfig"
> +
> +config DEFCONFIG_LIST
> + string
> + depends on X86_64
> + option defconfig_list
> + default "arch/x86/configs/x86_64_defconfig"
> +

Wouldn't this be cleaner as just *one* entry, and then just have
different default statements, ie something like

config DEFCONFIG_LIST
string
option defconfig_list
default "arch/x86/configs/i386_defconfig" if X86_32
default "arch/x86/configs/x86_64_defconfig" if X86_64

instead?

Linus


\
 
 \ /
  Last update: 2008-05-25 03:33    [W:0.112 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site