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,
On 16/11/2022 08.29, Zhou, Jie2X wrote:
> 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.
>
From the script you're invoking:
if [ "$MUNGE_CASE" = "yes" ] ; then
ARG="`echo $ARG | tr a-z A-Z`"
fi
...
MUNGE_CASE=yes
while [ "$1" != "" ] ; do
...
--keep-case|-k)
MUNGE_CASE=no
continue
;;
So perhaps use -k when using that script to enable one of the rare
config options that contains a lower-case letter.
Rasmus
>So perhaps use -k when using that script to enable one of the rare
>config options that contains a lower-case letter.
Thanks, it works.
best regards,
________________________________________
From: Rasmus Villemoes <[email protected]>
Sent: Wednesday, November 16, 2022 3:56 PM
To: Zhou, Jie2X; [email protected]
Cc: Li, Philip
Subject: Re: scripts/config bug: can not enable CONFIG_FONT_MINI_4x6
On 16/11/2022 08.29, Zhou, Jie2X wrote:
> 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.
>
From the script you're invoking:
if [ "$MUNGE_CASE" = "yes" ] ; then
ARG="`echo $ARG | tr a-z A-Z`"
fi
...
MUNGE_CASE=yes
while [ "$1" != "" ] ; do
...
--keep-case|-k)
MUNGE_CASE=no
continue
;;
So perhaps use -k when using that script to enable one of the rare
config options that contains a lower-case letter.
Rasmus