summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorJavier Viguera <javier.viguera@digi.com>2023-06-19 11:56:31 +0200
committerOleksandr Suvorov <oleksandr.suvorov@foundries.io>2023-06-19 15:06:24 +0300
commite5401e6aebbc15617b4397db6cb5fa103db144bc (patch)
tree365f4aa85ebc0f5bf027d1a29fc76891a597f11c /classes
parentb41bb485c9be0aa4326e9f1c2377e82e9b8f765b (diff)
downloadmeta-freescale-e5401e6aebbc15617b4397db6cb5fa103db144bc.tar.gz
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>
Diffstat (limited to 'classes')
-rw-r--r--classes/fsl-kernel-localversion.bbclass2
1 files changed, 1 insertions, 1 deletions
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() {
20 20
21 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION 21 # Fallback for recipes not able to use LINUX_VERSION_EXTENSION
22 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then 22 if [ "${@bb.data.inherits_class('kernel-yocto', d)}" = "False" ]; then
23 echo "CONFIG_LOCALVERSION=${LOCALVERSION}" >> ${B}/.config 23 echo 'CONFIG_LOCALVERSION="${LOCALVERSION}"' >> ${B}/.config
24 fi 24 fi
25 25
26 if [ "${SCMVERSION}" = "y" ]; then 26 if [ "${SCMVERSION}" = "y" ]; then