summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2018-04-03 14:23:31 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-03 23:53:19 +0100
commit4ca75e4226eda74a5468d7cc206f5976bfe6ee49 (patch)
treed4a94810d7643d9ede5adf68a0f9d33608e1119a /meta
parent21586e595ac0856fe71e214fb6b49f3bf053b261 (diff)
downloadpoky-4ca75e4226eda74a5468d7cc206f5976bfe6ee49.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 4877965af0..78d6c30b07 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -151,6 +151,7 @@ PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*"
151 151
152export OS = "${TARGET_OS}" 152export OS = "${TARGET_OS}"
153export CROSS_COMPILE = "${TARGET_PREFIX}" 153export CROSS_COMPILE = "${TARGET_PREFIX}"
154export KBUILD_BUILD_VERSION = "1"
154export KBUILD_BUILD_USER = "oe-user" 155export KBUILD_BUILD_USER = "oe-user"
155export KBUILD_BUILD_HOST = "oe-host" 156export KBUILD_BUILD_HOST = "oe-host"
156 157