fsl-kernel-localversion: fix regression setting LOCALVERSION

CONFIG_LOCALVERSION is a string setting. It needs to go between quotes in
the .config file.

$ grep CONFIG_LOCALVERSION= .config
CONFIG_LOCALVERSION="-dey"

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
This commit is contained in:
Javier Viguera 2023-06-19 11:56:31 +02:00 committed by Oleksandr Suvorov
parent b41bb485c9
commit e5401e6aeb

View File

@ -20,7 +20,7 @@ do_kernel_localversion() {
# Fallback for recipes not able to use LINUX_VERSION_EXTENSION
if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then
echo "CONFIG_LOCALVERSION=${LOCALVERSION}" >> ${B}/.config
echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config
fi
if [ "${SCMVERSION}" = "y" ]; then