From e5401e6aebbc15617b4397db6cb5fa103db144bc 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 Signed-off-by: Oleksandr Suvorov --- classes/fsl-kernel-localversion.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/fsl-kernel-localversion.bbclass') diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index d4322e25f..98fcfa056 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