meta-freescale/classes
Tom Hochstein e6a138da45 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>
2025-12-15 12:38:03 -06:00
..
fsl-dynamic-packagearch.bbclass Revert "fsl-dynamic-packagearch: fix MACHINE_SOCARCH definition" 2023-12-31 11:48:02 -07:00
fsl-eula-unpack.bbclass EULA: Update to v58 2025-07-25 11:14:59 +02:00
fsl-kernel-localversion.bbclass fsl-kernel-localversion: Fix duplicate LOCALVERSION 2025-12-15 12:38:03 -06:00
fsl-u-boot-localversion.bbclass fsl-u-boot-localversion.bbclass: Add back UBOOT_LOCALVERSION to .scmversion 2024-07-30 13:16:25 +02:00
fsl-vivante-kernel-driver-handler.bbclass fsl-vivante-kernel-driver-handler.bbclass: Fix multilib support 2022-01-25 09:55:52 -03:00
image_populate_mfgtool.bbclass classes/image_populate_mfgtool: fix basehash value change 2023-04-14 16:10:42 -03:00
image_types_fsl.bbclass image_types_fsl.bbclass: Drop use of IMAGE_NAME_SUFFIX 2023-11-09 19:49:03 -08:00
imx-boot-container.bbclass imx-boot-container.bbclass: follow builddir change 2025-10-15 14:39:54 +02:00
kernel-imximage.bbclass layer: Convert to new override syntax 2021-08-12 10:08:24 -07:00
machine-overrides-extender.bbclass Ensure we fail if old SoC overrides are in use 2022-03-03 10:41:35 -03:00
mfgtool-initramfs-image.bbclass mfgtool-initramfs-image: IMAGE_NAME_SUFFIX should by empty for initramfs 2023-07-05 17:06:25 +00:00
qoriq_build_64bit_kernel.bbclass layer: Convert to new override syntax 2021-08-12 10:08:24 -07:00
use-imx-headers.bbclass Generalize overrides subsystem for NXP and Mainline support 2022-02-21 20:06:28 -03:00
use-imx-security-controller-firmware.bbclass use-imx-security-controller-firmware: Add i.MX 91 configuration 2025-01-29 08:27:34 +01:00
uuu_bootloader_tag.bbclass boot: Fix UUU tagging, extend to fslc 2024-09-16 04:36:03 -07:00