diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-02-06 10:49:37 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-08 11:07:38 +0000 |
| commit | 18c4179d11605bb3e25b437334e7ade1e987b31f (patch) | |
| tree | e1754049608c592cca630b25f077a7cb6d0d1135 | |
| parent | 5276b7f548eff09c1767ea48e2dd2cf27fdf6a33 (diff) | |
| download | poky-18c4179d11605bb3e25b437334e7ade1e987b31f.tar.gz | |
kernel-devsrc: Add needed fixes for 6.1+ kernel build on target on RISCV
(From OE-Core rev: 0b1e8df551d50331fc26048209b759a199bd964d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 9c3c09e714..c39ad7bc18 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
| @@ -224,10 +224,16 @@ do_install() { | |||
| 224 | if [ "${ARCH}" = "riscv" ]; then | 224 | if [ "${ARCH}" = "riscv" ]; then |
| 225 | cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/ | 225 | cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/ |
| 226 | cp -a --parents arch/riscv/kernel/vdso/note.S $kerneldir/build/ | 226 | cp -a --parents arch/riscv/kernel/vdso/note.S $kerneldir/build/ |
| 227 | # v6.1+ | ||
| 228 | cp -a --parents arch/riscv/kernel/asm-offsets.c $kerneldir/build/ | ||
| 227 | if [ -e arch/riscv/kernel/vdso/gen_vdso_offsets.sh ]; then | 229 | if [ -e arch/riscv/kernel/vdso/gen_vdso_offsets.sh ]; then |
| 228 | cp -a --parents arch/riscv/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/ | 230 | cp -a --parents arch/riscv/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/ |
| 229 | fi | 231 | fi |
| 230 | cp -a --parents arch/riscv/kernel/vdso/* $kerneldir/build/ 2>/dev/null || : | 232 | cp -a --parents arch/riscv/kernel/vdso/* $kerneldir/build/ 2>/dev/null || : |
| 233 | if [ -e arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh ]; then | ||
| 234 | cp -a --parents arch/riscv/kernel/compat_vdso/gen_compat_vdso_offsets.sh $kerneldir/build/ | ||
| 235 | fi | ||
| 236 | cp -a --parents arch/riscv/kernel/compat_vdso/* $kerneldir/build/ 2>/dev/null || : | ||
| 231 | fi | 237 | fi |
| 232 | 238 | ||
| 233 | # include the machine specific headers for ARM variants, if available. | 239 | # include the machine specific headers for ARM variants, if available. |
