summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-12-26 16:50:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-30 14:01:07 +0000
commit3a457ee4490f32b03760264f34c4968a17c470ff (patch)
treefb01ba8bb1c25a5212209b670938e333d45cb7ea /meta/recipes-kernel
parent50734c7f71c7ead1e71cd447918463ff56465d11 (diff)
downloadpoky-3a457ee4490f32b03760264f34c4968a17c470ff.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: cb940d8af359fa370254bd4c2b36ba26708bb54b) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-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 8a900ed182..dadeade3aa 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -186,7 +186,7 @@ do_install() {
186 cp -a --parents $SYSCALL_TOOLS $kerneldir/build/ 186 cp -a --parents $SYSCALL_TOOLS $kerneldir/build/
187 fi 187 fi
188 188
189 cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ 189 cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ 2>/dev/null || :
190 fi 190 fi
191 191
192 if [ -d arch/${ARCH}/include ]; then 192 if [ -d arch/${ARCH}/include ]; then