summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-22 16:08:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-24 09:55:54 +0000
commit64444fae5708a2761162a93b6a1bf0da0e864b35 (patch)
tree360371aa98eb6512c7899beb69e8fc05a5fa03b7 /meta
parent3ddbfe0b15c7868d94539d2b26f8e1379d313333 (diff)
downloadpoky-64444fae5708a2761162a93b6a1bf0da0e864b35.tar.gz
bitbake.conf: Pass -D option to ranlib for determisim
Add the -D option to BUILD_RANLIB so that deterministic archives are built for native/cross output. This improves the changes of hash equivalence matches and hence build artefact reuse. We don't need this in the target case since we compile binutils-cross with an option making this the default. (From OE-Core rev: f5d136f5a9c14e6629a47bf3e796f1d951ed998b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 71c1e52ad6..fba99e8f0c 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -542,7 +542,7 @@ export BUILD_LD = "${BUILD_PREFIX}ld ${BUILD_LD_ARCH}"
542export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 542export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
543export BUILD_AR = "${BUILD_PREFIX}ar" 543export BUILD_AR = "${BUILD_PREFIX}ar"
544export BUILD_AS = "${BUILD_PREFIX}as ${BUILD_AS_ARCH}" 544export BUILD_AS = "${BUILD_PREFIX}as ${BUILD_AS_ARCH}"
545export BUILD_RANLIB = "${BUILD_PREFIX}ranlib" 545export BUILD_RANLIB = "${BUILD_PREFIX}ranlib -D"
546export BUILD_STRIP = "${BUILD_PREFIX}strip" 546export BUILD_STRIP = "${BUILD_PREFIX}strip"
547BUILD_OBJCOPY = "${BUILD_PREFIX}objcopy" 547BUILD_OBJCOPY = "${BUILD_PREFIX}objcopy"
548BUILD_OBJDUMP = "${BUILD_PREFIX}objdump" 548BUILD_OBJDUMP = "${BUILD_PREFIX}objdump"