[coreboot] [PATCH]Kconfig: two fixes

Patrick Georgi patrick at georgi-clan.de
Wed Aug 12 23:58:58 CEST 2009


Hi,

the -1 patch fixes some conflicting types of variables
the -2 patch removes the normal/* files from the image. they're just
copies of fallback/* anyway.

As for the types: Defining options as "bool" doesn't mean that the code
has to use
#if (CONFIG_FOO = y)
or so. They're stored as 1 or 0 - but kconf (the kconfig utility) seems
to be confused when an option is "both int and bool", and emits strings
in that case. Or something like that anyway.

So, if you want to give the user a boolean decision, use "bool", not
"int". kconf still does the right thing.


Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090812-1-kconfig-unify-types
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090812/745fde39/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20090812-2-remove-synthetic-normal-image
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090812/745fde39/attachment-0001.ksh>


More information about the coreboot mailing list