summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-07-10 22:11:02 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-12 12:52:52 +0100
commit4cb5773acef976304d21914dd73f26b5e94d34d4 (patch)
tree505c0701fb5d3acb0f9df2d3910774c4b6e56fc2
parentc561d65459e8d60efd99a64c80bf70a01d48d4b9 (diff)
downloadpoky-4cb5773acef976304d21914dd73f26b5e94d34d4.tar.gz
kernel-devsrc: ppc32: fix reproducibility
In a similar manner to the arm/arm32 reprodicibility fixes, we can also fix ppc32. The file .vdso32-offsets.h.cmd has captured paths, but we don't need it on target or SDKs to regenerate a build enviroment. We add it to our vdso-offsets list of files to delete and we no longer have files patckaged with buildpaths. (From OE-Core rev: 2a142b68b232ff7728f4eb945eea923c64e7ebd5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index ee5d8d9ab0..f8f717199c 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -129,9 +129,11 @@ do_install() {
129 cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || : 129 cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || :
130 130
131 if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ] || 131 if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ] ||
132 [ -e $kerneldir/build/include/generated/.vdso-offsets.h.cmd ]; then 132 [ -e $kerneldir/build/include/generated/.vdso-offsets.h.cmd ] ||
133 [ -e $kerneldir/build/include/generated/.vdso32-offsets.h.cmd ] ; then
133 rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd 134 rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd
134 rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd 135 rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
136 rm -f $kerneldir/build/include/generated/.vdso32-offsets.h.cmd
135 fi 137 fi
136 ) 138 )
137 139