From 096c9037bc8376c162ca364e23cc23d92d4c04f8 Mon Sep 17 00:00:00 2001 From: Jacob Kroon Date: Wed, 24 Nov 2021 06:31:10 +0100 Subject: native/cross: Add ar wrapper for determinism Add a wrapper around ar calls for native/cross recipes. This wrapper adds the -D option 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. We need a wrapper since we need to remove the "u" option and replace it with "D" but also allow things like "--version" to continue to work too. (From OE-Core rev: 59922c95fcb20c66634c5677012d490be2246b0b) Signed-off-by: Jacob Kroon Signed-off-by: Richard Purdie --- scripts/cross-intercept/ar | 1 + 1 file changed, 1 insertion(+) create mode 120000 scripts/cross-intercept/ar (limited to 'scripts/cross-intercept') diff --git a/scripts/cross-intercept/ar b/scripts/cross-intercept/ar new file mode 120000 index 0000000000..bc68ffd7a2 --- /dev/null +++ b/scripts/cross-intercept/ar @@ -0,0 +1 @@ +../native-intercept/ar \ No newline at end of file -- cgit v1.2.3-54-g00ecf