From: Jonathan Liu Date: Tue, 3 Apr 2018 04:23:31 +0000 (+1000) Subject: kernel.bbclass: improve reproducibility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~18236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fa32ee42c3320e9e2b24ef747e43484b719f617;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 4877965af0d..78d6c30b07c 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"