diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-11-20 23:13:16 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-22 16:53:37 +0000 |
| commit | 054ed2cf178f04bc7f3364032752b38e3ecb7b60 (patch) | |
| tree | 6ec7e8a9d6621f0ca6e81bb7819bf9ba9787968c | |
| parent | 4336f06475692871efa0f493854019e9b8188848 (diff) | |
| download | poky-054ed2cf178f04bc7f3364032752b38e3ecb7b60.tar.gz | |
kernel-devsrc: fix powerpc for 6.12+
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
(From OE-Core rev: ecf72da891ebb08807a694967caccb51805813f2)
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.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index ed7a1a973c..5d706c038f 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
| @@ -226,6 +226,11 @@ do_install() { | |||
| 226 | # v6,1+ | 226 | # v6,1+ |
| 227 | cp -a --parents arch/powerpc/kernel/asm-offsets.c $kerneldir/build/ 2>/dev/null || : | 227 | cp -a --parents arch/powerpc/kernel/asm-offsets.c $kerneldir/build/ 2>/dev/null || : |
| 228 | cp -a --parents arch/powerpc/kernel/head_booke.h $kerneldir/build/ 2>/dev/null || : | 228 | cp -a --parents arch/powerpc/kernel/head_booke.h $kerneldir/build/ 2>/dev/null || : |
| 229 | |||
| 230 | # 6.12+ | ||
| 231 | cp -a --parents arch/powerpc/kernel/vdso/vgetrandom.c $kerneldir/build/ 2>/dev/null || : | ||
| 232 | cp -a --parents arch/powerpc/kernel/vdso/vgetrandom-chacha.S $kerneldir/build/ 2>/dev/null || : | ||
| 233 | cp -a --parents arch/powerpc/lib/crtsavres.S $kerneldir/build/ 2>/dev/null || : | ||
| 229 | fi | 234 | fi |
| 230 | if [ "${ARCH}" = "riscv" ]; then | 235 | if [ "${ARCH}" = "riscv" ]; then |
| 231 | cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/ | 236 | cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/ |
