mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
kernel-devsrc: Fixed missing loongarch64 kernel source code when test_kernelmodules
(From OE-Core rev: 754cf445b2670442cf94c9432b0a69141cc2a67d) Signed-off-by: Zang Ruochen <zangruochen@loongson.cn> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ee08b54e1f
commit
7cf595a49b
@@ -318,6 +318,15 @@ do_install() {
|
||||
cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build 2>/dev/null || :
|
||||
cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || :
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "loongarch" ]; then
|
||||
cp -a --parents arch/loongarch/kernel/asm-offsets.c $kerneldir/build
|
||||
cp -a --parents Kbuild $kerneldir/build
|
||||
cp -a --parents arch/loongarch/vdso/*.S $kerneldir/build 2>/dev/null || :
|
||||
cp -a --parents arch/loongarch/vdso/*gettimeofday.* $kerneldir/build 2>/dev/null || :
|
||||
cp -a --parents arch/loongarch/vdso/*getcpu.* $kerneldir/build 2>/dev/null || :
|
||||
cp -a --parents arch/loongarch/vdso/gen_vdso*_offsets.sh $kerneldir/build/ 2>/dev/null || :
|
||||
fi
|
||||
|
||||
# required to build scripts/selinux/genheaders/genheaders
|
||||
cp -a --parents security/selinux/include/* $kerneldir/build/
|
||||
|
||||
Reference in New Issue
Block a user