summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-12-26 16:50:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-25 18:06:24 +0100
commit9b7f1d687d805cbd5d235dabebc64d6f4591ea3f (patch)
treed83947b9a92763a49cf1e9451a4903055bccd5f9
parentfd7cf4e487c3e63ab1f8d8820bca7d5ca02d52b2 (diff)
downloadpoky-9b7f1d687d805cbd5d235dabebc64d6f4591ea3f.tar.gz
kernel-devsrc: fix 32bit ARM devsrc builds
As a follow up to commit: 0fc66a0b64953 [kernel: provide module.lds for out of tree builds in v5.10+], we must not only copy module.lds from its new location, we have to not error when it isn't found in the old location. With this tweak, we have coverage on all supported arches for the new location of module.lds, and backwards compatibility through kernel versions. (From OE-Core rev: 9ae339ace9274be71bfd3b5e5da64dceac9fa963) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb940d8af359fa370254bd4c2b36ba26708bb54b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 951e7635cc..887e1e2430 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -177,7 +177,7 @@ do_install() {
177 cp -a --parents $SYSCALL_TOOLS $kerneldir/build/ 177 cp -a --parents $SYSCALL_TOOLS $kerneldir/build/
178 fi 178 fi
179 179
180 cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ 180 cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ 2>/dev/null || :
181 fi 181 fi
182 182
183 if [ -d arch/${ARCH}/include ]; then 183 if [ -d arch/${ARCH}/include ]; then