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 10:53:49 +0100 |
commit | 7fa32ee42c3320e9e2b24ef747e43484b719f617 (patch) | |
tree | 0762fba7bb456471e5b467d2163086c70a625851 | |
parent | 2ca601bef44a07512c93b8452cf9001dce402617 (diff) | |
download | openembedded-core-7fa32ee42c3320e9e2b24ef747e43484b719f617.tar.gz openembedded-core-7fa32ee42c3320e9e2b24ef747e43484b719f617.tar.bz2 openembedded-core-7fa32ee42c3320e9e2b24ef747e43484b719f617.zip |
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.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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-.*" 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" |