mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
kernel.bbclass: improve reproducibility
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on every build. It is visible in the output of "cat /proc/version" after the hash character. (From OE-Core rev: 7fa32ee42c3320e9e2b24ef747e43484b719f617) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
21586e595a
commit
4ca75e4226
@@ -151,6 +151,7 @@ PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*"
|
||||
|
||||
export OS = "${TARGET_OS}"
|
||||
export CROSS_COMPILE = "${TARGET_PREFIX}"
|
||||
export KBUILD_BUILD_VERSION = "1"
|
||||
export KBUILD_BUILD_USER = "oe-user"
|
||||
export KBUILD_BUILD_HOST = "oe-host"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user