Merge pull request #2417 from nxp-upstream/localversion

fsl-kernel-localversion: Fix duplicate LOCALVERSION
This commit is contained in:
Otavio Salvador 2025-12-15 15:47:06 -03:00 committed by GitHub
commit 4034ea7990
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,8 @@ SCMVERSION ??= "y"
LOCALVERSION ??= "+fslc"
# LINUX_VERSION_EXTENSION is used as CONFIG_LOCALVERSION by kernel-yocto class
LINUX_VERSION_EXTENSION ?= "${LOCALVERSION}"
LINUX_VERSION_EXTENSION ?= \
"${@bb.utils.contains('SCMVERSION', 'y', '', '${LOCALVERSION}', d)}"
do_kernel_localversion[dirs] += "${S} ${B}"
do_kernel_localversion() {