mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2026-01-27 11:52:04 +01:00
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> |
||
|---|---|---|
| .. | ||
| fsl-dynamic-packagearch.bbclass | ||
| fsl-eula-unpack.bbclass | ||
| fsl-kernel-localversion.bbclass | ||
| fsl-u-boot-localversion.bbclass | ||
| fsl-vivante-kernel-driver-handler.bbclass | ||
| image_populate_mfgtool.bbclass | ||
| image_types_fsl.bbclass | ||
| imx-boot-container.bbclass | ||
| kernel-imximage.bbclass | ||
| machine-overrides-extender.bbclass | ||
| mfgtool-initramfs-image.bbclass | ||
| qoriq_build_64bit_kernel.bbclass | ||
| use-imx-headers.bbclass | ||
| use-imx-security-controller-firmware.bbclass | ||
| uuu_bootloader_tag.bbclass | ||