diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-22 16:08:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-24 09:55:54 +0000 |
commit | 64444fae5708a2761162a93b6a1bf0da0e864b35 (patch) | |
tree | 360371aa98eb6512c7899beb69e8fc05a5fa03b7 /meta | |
parent | 3ddbfe0b15c7868d94539d2b26f8e1379d313333 (diff) | |
download | poky-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.conf | 2 |
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}" | |||
542 | export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" | 542 | export BUILD_CCLD = "${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" |
543 | export BUILD_AR = "${BUILD_PREFIX}ar" | 543 | export BUILD_AR = "${BUILD_PREFIX}ar" |
544 | export BUILD_AS = "${BUILD_PREFIX}as ${BUILD_AS_ARCH}" | 544 | export BUILD_AS = "${BUILD_PREFIX}as ${BUILD_AS_ARCH}" |
545 | export BUILD_RANLIB = "${BUILD_PREFIX}ranlib" | 545 | export BUILD_RANLIB = "${BUILD_PREFIX}ranlib -D" |
546 | export BUILD_STRIP = "${BUILD_PREFIX}strip" | 546 | export BUILD_STRIP = "${BUILD_PREFIX}strip" |
547 | BUILD_OBJCOPY = "${BUILD_PREFIX}objcopy" | 547 | BUILD_OBJCOPY = "${BUILD_PREFIX}objcopy" |
548 | BUILD_OBJDUMP = "${BUILD_PREFIX}objdump" | 548 | BUILD_OBJDUMP = "${BUILD_PREFIX}objdump" |