diff options
author | Javier Viguera <javier.viguera@digi.com> | 2023-06-19 11:56:31 +0200 |
---|---|---|
committer | Javier Viguera <javier.viguera@digi.com> | 2023-06-19 11:56:31 +0200 |
commit | 9ad98f75a7ac7f117d3a5c7165adaba3a52b565b (patch) | |
tree | 313492d7ce525a6b95ad0f2bd5f6a1c77db0706e | |
parent | 6f04cf1fce13c9852d4ec86b66a3858c42b7c7c9 (diff) | |
download | meta-freescale-9ad98f75a7ac7f117d3a5c7165adaba3a52b565b.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>
-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 |