scripts/config bug: can not enable CONFIG_FONT_MINI_4x6

From: Zhou, Jie2X
Date: Wed Nov 16 2022 - 02:29:30 EST


hi,

This is a kernel bug.
./scripts/config convert "CONFIG_FONT_MINI_4x6" to "CONFIG_FONT_MINI_4X6=y" in config.
x->X, Lower case letters become upper case letters after process.
After "make olddefconfig", CONFIG_FONT_MINI_4x6 is not set.

Add CONFIG_FONT_MINI_4x6=y to .config.
After "make olddefconfig", CONFIG_FONT_MINI_4x6 is set.

enable CONFIG_FONT_MINI_4x6 by ./scripts/config:
[root@fedoraguest1 linux_stable]# grep FONT_MINI_4 .config
[root@fedoraguest1 linux_stable]# ./scripts/config --file .config --enable CONFIG_FONT_MINI_4x6
[root@fedoraguest1 linux_stable]# grep FONT_MINI_4 .config
CONFIG_FONT_MINI_4X6=y
[root@fedoraguest1 linux_stable]# make olddefconfig
#
# configuration written to .config
#
[root@fedoraguest1 linux_stable]# grep FONT_MINI_4 .config
# CONFIG_FONT_MINI_4x6 is not set

enable CONFIG_FONT_MINI_4x6 by writting .config:
[root@fedoraguest1 linux_stable]# echo CONFIG_FONT_MINI_4x6=y >> .config
[root@fedoraguest1 linux_stable]# make olddefconfig
.config:6708:warning: override: reassigning to symbol FONT_MINI_4x6
#
# configuration written to .config
#
[root@fedoraguest1 linux_stable]# grep FONT_MINI_4 .config
CONFIG_FONT_MINI_4x6=y

best regards,