diff options
author | Jonathan Liu <net147@gmail.com> | 2018-04-03 14:23:31 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-03 23:53:19 +0100 |
commit | 4ca75e4226eda74a5468d7cc206f5976bfe6ee49 (patch) | |
tree | d4a94810d7643d9ede5adf68a0f9d33608e1119a /meta | |
parent | 21586e595ac0856fe71e214fb6b49f3bf053b261 (diff) | |
download | poky-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.bbclass | 1 |
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 | ||
152 | export OS = "${TARGET_OS}" | 152 | export OS = "${TARGET_OS}" |
153 | export CROSS_COMPILE = "${TARGET_PREFIX}" | 153 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
154 | export KBUILD_BUILD_VERSION = "1" | ||
154 | export KBUILD_BUILD_USER = "oe-user" | 155 | export KBUILD_BUILD_USER = "oe-user" |
155 | export KBUILD_BUILD_HOST = "oe-host" | 156 | export KBUILD_BUILD_HOST = "oe-host" |
156 | 157 | ||