mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
kernel-devsrc: Add vdso.lds and other build files for riscv64 as well
These additional bits are needed on riscv64 as well Fixes make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'. Stop. make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2 (From OE-Core rev: 446972600ed51ca75a2a4e579cdc3e6dd2e05195) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -109,8 +109,8 @@ do_install() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "arm64" ]; then
|
||||
cp -a --parents arch/arm64/kernel/vdso/vdso.lds $kerneldir/build/
|
||||
if [ "${ARCH}" = "arm64" -o "${ARCH}" = "riscv" ]; then
|
||||
cp -a --parents arch/${ARCH}/kernel/vdso/vdso.lds $kerneldir/build/
|
||||
fi
|
||||
if [ "${ARCH}" = "powerpc" ]; then
|
||||
cp -a --parents arch/powerpc/kernel/vdso32/vdso32.lds $kerneldir/build 2>/dev/null || :
|
||||
@@ -185,6 +185,12 @@ do_install() {
|
||||
cp -a --parents arch/${ARCH}/kernel/vdso32/* $kerneldir/build/ 2>/dev/null || :
|
||||
cp -a --parents arch/${ARCH}/kernel/vdso64/* $kerneldir/build/ 2>/dev/null || :
|
||||
fi
|
||||
if [ "${ARCH}" = "riscv" ]; then
|
||||
cp -a --parents arch/riscv/kernel/vdso/*gettimeofday.* $kerneldir/build/
|
||||
cp -a --parents arch/riscv/kernel/vdso/note.S $kerneldir/build/
|
||||
cp -a --parents arch/riscv/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/
|
||||
cp -a --parents arch/riscv/kernel/vdso/* $kerneldir/build/ 2>/dev/null || :
|
||||
fi
|
||||
|
||||
# include the machine specific headers for ARM variants, if available.
|
||||
if [ "${ARCH}" = "arm" ]; then
|
||||
|
||||
Reference in New Issue
Block a user