kconfig: fix savedefconfig for tristate choices
authorSam Ravnborg <sam@ravnborg.org>
Thu, 12 Aug 2010 07:11:51 +0000 (09:11 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 12 Aug 2010 08:55:02 +0000 (10:55 +0200)
commit801690caf1894d4f8b1277ca9f5dcf0bcf9b3f58
tree921c4d4a1b9ada1ef0822ac26c5da2dbb83bb5f3
parent7a996d3ab150bb0e1b71fa182f70199a703efdd1
kconfig: fix savedefconfig for tristate choices

savedefconfig failed to save choice symbols equal to 'y'
for tristate choices.
This resulted in this value being lost.

In particular is fixes an issue where

make ARCH=avr32 atngw100_defconfig
make ARCH=avr32 savedefconfig
cp defconfig arch/avr32/configs/atngw100_defconfig
make ARCH=avr32 atngw100_defconfig
diff -u .config .config.old

failed to produce an identical .config.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/confdata.c