diff options
| -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. |
