diff options
author | Zang Ruochen <zangruochen@loongson.cn> | 2023-09-06 09:28:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-07 14:42:38 +0100 |
commit | 7cf595a49b417bcdd0b22c84f66ebaaf9bd5db55 (patch) | |
tree | 97abce6b6f42d66880c61f00f75c2a6fb1295669 | |
parent | ee08b54e1fb3bb7ee8f277869b2ed8c3bd14832f (diff) | |
download | poky-7cf595a49b417bcdd0b22c84f66ebaaf9bd5db55.tar.gz |
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>
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 6764598d48..ce5777fbe9 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -318,6 +318,15 @@ do_install() { | |||
318 | cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build 2>/dev/null || : | 318 | cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build 2>/dev/null || : |
319 | cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || : | 319 | cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || : |
320 | fi | 320 | fi |
321 | |||
322 | if [ "${ARCH}" = "loongarch" ]; then | ||
323 | cp -a --parents arch/loongarch/kernel/asm-offsets.c $kerneldir/build | ||
324 | cp -a --parents Kbuild $kerneldir/build | ||
325 | cp -a --parents arch/loongarch/vdso/*.S $kerneldir/build 2>/dev/null || : | ||
326 | cp -a --parents arch/loongarch/vdso/*gettimeofday.* $kerneldir/build 2>/dev/null || : | ||
327 | cp -a --parents arch/loongarch/vdso/*getcpu.* $kerneldir/build 2>/dev/null || : | ||
328 | cp -a --parents arch/loongarch/vdso/gen_vdso*_offsets.sh $kerneldir/build/ 2>/dev/null || : | ||
329 | fi | ||
321 | 330 | ||
322 | # required to build scripts/selinux/genheaders/genheaders | 331 | # required to build scripts/selinux/genheaders/genheaders |
323 | cp -a --parents security/selinux/include/* $kerneldir/build/ | 332 | cp -a --parents security/selinux/include/* $kerneldir/build/ |