]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
kernel-devsrc: fix powerpc for 6.12+
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 21 Nov 2024 04:13:16 +0000 (23:13 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Nov 2024 16:52:20 +0000 (16:52 +0000)
crtsavres need to be available for scripts to be regenerated
in 6.12+:

  commit 699d53f04829d6b8855ff458f86e4b75ef3e5f0c
  Author: Christophe Leroy <christophe.leroy@csgroup.eu>
  Date:   Thu Sep 19 20:55:57 2024 +0200

      powerpc/vdso32: Fix use of crtsavres for PPC64

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/kernel-devsrc.bb

index ed7a1a973cb57d4d68d98028f5bddb83d00f80bc..5d706c038fee60e5a02496bd825da8767371f602 100644 (file)
@@ -226,6 +226,11 @@ do_install() {
             # v6,1+
             cp -a --parents arch/powerpc/kernel/asm-offsets.c $kerneldir/build/ 2>/dev/null || :
             cp -a --parents arch/powerpc/kernel/head_booke.h $kerneldir/build/ 2>/dev/null || :
+
+            # 6.12+
+            cp -a --parents arch/powerpc/kernel/vdso/vgetrandom.c $kerneldir/build/ 2>/dev/null || :
+            cp -a --parents arch/powerpc/kernel/vdso/vgetrandom-chacha.S $kerneldir/build/ 2>/dev/null || :
+            cp -a --parents arch/powerpc/lib/crtsavres.S $kerneldir/build/ 2>/dev/null || :
         fi
         if [ "${ARCH}" = "riscv" ]; then
             cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/