lkml.org 
[lkml]   [2010]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 9/9] kconfig: add savedefconfig
Hello,

On Sat, Jul 31, 2010 at 11:35:34PM +0200, Sam Ravnborg wrote:
> savedefconfig will save a minimal config to a file
> named "defconfig".
>
> The config symbols are saved in the same order as
> they appear in the menu structure so it should
> be possible to map them to the relevant menus
> if desired.
>
> The implementation was tested against several minimal
> configs for arm which was created using brute-force.
s/was/were/ I think.

> There was one regression related to default numbers
> which had their valid range further limited by another symbol.
>
> Sample:
>
> config FOO
> int "foo"
> default 4
>
> config BAR
> int "bar"
> range 0 FOO
>
> If FOO is set to 3 then BAR cannot take a value higher than 3.
> But the current implementation will set BAR equal to 4.
>
> This is seldomly used and the final configuration is OK,
> and the fix was non-trivial.
> So it was documented in the code and left as is.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-08-02 10:07    [W:0.063 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site