diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-13 23:56:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-16 09:48:37 +0100 |
commit | 13a039e03195a47c750d5901e96fe81cf523481f (patch) | |
tree | 7cff74cfdd705892cf0cbde5d689b76d4bb2486a /meta/recipes-extended/bash/bash.inc | |
parent | c3b3cc4745811b48b9193f83889946b2e1788932 (diff) | |
download | openembedded-core-13a039e03195a47c750d5901e96fe81cf523481f.tar.gz |
bash: Ensure deterministic build
Bash keeps a count of the number of times make was invoked on a directory
and changes the output versioning accordingly. We want deterministic output
so disable this behaviour.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index ca788e1672..18874a0e24 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc @@ -62,6 +62,11 @@ do_compile_ptest () { oe_runmake buildtest } +do_install:prepend () { + # Ensure determinism as this counter increases for each make call + rm -f ${B}/.build +} + do_install:append () { # Move /usr/bin/bash to /bin/bash, if need if [ "${base_bindir}" != "${bindir}" ]; then |