diff options
author | Javier Viguera <javier.viguera@digi.com> | 2023-06-19 11:56:31 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-06-19 15:06:24 +0300 |
commit | e5401e6aebbc15617b4397db6cb5fa103db144bc (patch) | |
tree | 365f4aa85ebc0f5bf027d1a29fc76891a597f11c /classes/fsl-kernel-localversion.bbclass | |
parent | b41bb485c9be0aa4326e9f1c2377e82e9b8f765b (diff) | |
download | meta-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/fsl-kernel-localversion.bbclass')
-rw-r--r-- | classes/fsl-kernel-localversion.bbclass | 2 |
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 |