diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-08-17 11:27:31 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-26 08:32:13 +0100 |
commit | 6c81964f15b2e0e367459dca6cf893a6cf25267c (patch) | |
tree | 83aa8c5452828bf9d87682f8b7b684d02020a8fd /meta | |
parent | f808db8da6b5e91002362fb8838a7d69abbb39de (diff) | |
download | poky-6c81964f15b2e0e367459dca6cf893a6cf25267c.tar.gz |
kernel-devsrc: 5.14+ updates
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.
We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.
(From OE-Core rev: 46e0d3b6190006505c6071edfbbb644e2291b517)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5debc9bc25110b836b76927c61b2455e5e235a84)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 92076ac8b0..4897084aab 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -218,10 +218,10 @@ do_install() { | |||
218 | 218 | ||
219 | if [ "${ARCH}" = "x86" ]; then | 219 | if [ "${ARCH}" = "x86" ]; then |
220 | # files for 'make prepare' to succeed with kernel-devel | 220 | # files for 'make prepare' to succeed with kernel-devel |
221 | cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build/ | 221 | cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build/ 2>/dev/null || : |
222 | cp -a --parents $(find arch/x86 -type f -name "syscalltbl.sh") $kerneldir/build/ | 222 | cp -a --parents $(find arch/x86 -type f -name "syscalltbl.sh") $kerneldir/build/ 2>/dev/null || : |
223 | cp -a --parents $(find arch/x86 -type f -name "syscallhdr.sh") $kerneldir/build/ | 223 | cp -a --parents $(find arch/x86 -type f -name "syscallhdr.sh") $kerneldir/build/ 2>/dev/null || : |
224 | cp -a --parents $(find arch/x86 -type f -name "syscall_64.tbl") $kerneldir/build/ | 224 | cp -a --parents $(find arch/x86 -type f -name "syscall_64.tbl") $kerneldir/build/ 2>/dev/null || : |
225 | cp -a --parents arch/x86/tools/relocs_32.c $kerneldir/build/ | 225 | cp -a --parents arch/x86/tools/relocs_32.c $kerneldir/build/ |
226 | cp -a --parents arch/x86/tools/relocs_64.c $kerneldir/build/ | 226 | cp -a --parents arch/x86/tools/relocs_64.c $kerneldir/build/ |
227 | cp -a --parents arch/x86/tools/relocs.c $kerneldir/build/ | 227 | cp -a --parents arch/x86/tools/relocs.c $kerneldir/build/ |