From 9ad98f75a7ac7f117d3a5c7165adaba3a52b565b Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Mon, 19 Jun 2023 11:56:31 +0200 Subject: 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 --- classes/fsl-kernel-localversion.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index d4322e25..98fcfa05 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass @@ -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 -- cgit v1.2.3-54-g00ecf