diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2025-12-15 12:17:10 -0600 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2025-12-15 12:38:03 -0600 |
| commit | e6a138da453e94b9042003b5959c6ac2d2ea7221 (patch) | |
| tree | 1b803cf2239672b890ab860dd6e42195fa808c52 /recipes-kernel/cryptodev/sdk_patches/0056-fix-set-min-value-when-allocating-alligned-memory-bu.patch | |
| parent | 1f1dd28237aeaf07604a7f5d3c09819339c7be94 (diff) | |
| download | meta-freescale-e6a138da453e94b9042003b5959c6ac2d2ea7221.tar.gz | |
fsl-kernel-localversion: Fix duplicate LOCALVERSION
The kernel version contains LOCALVERSION twice. For example, for
LOCALVERSION=nxp-next:
```
$ cat tmp/work/imx95evk-poky-linux/linux-imx/6.18.y+git/build/include/generated/utsrelease.h
#define UTS_RELEASE "6.18.0-nxp-next-nxp-next-06195-gb61baedaf5d5"
```
The problem is kernel-yocto.bbclass adds LOCALVERSION via .config if
LINUX_VERSION_EXTENSION is not empty, and the build itself adds it
because fsl-kernel-localversion.bbclass sets CONFIG_LOCALVERSION_AUTO=y
whenever SCMVERSION is enabled.
Fix by clearing LINUX_VERSION_EXTENSION if SCMVERSION is enabled.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0056-fix-set-min-value-when-allocating-alligned-memory-bu.patch')
0 files changed, 0 insertions, 0 deletions
