mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
kernel-devsrc: add files required for on-target build with 5.x
Both powerpc and mips require a few new files for the scripts and prepare targets to work with a 5.0 kernel. We add the required files to the architecture specific blocks, with appropriate backwards compatibility considerations. (From OE-Core rev: 124c6bf5a0a5cc20d2ebbf04dc7b577cb4f5153a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7d86a8655b
commit
e52a3085aa
@@ -150,6 +150,13 @@ do_install() {
|
||||
cp -a --parents arch/arm64/kernel/module.lds $kerneldir/build/
|
||||
fi
|
||||
|
||||
if [ "${ARCH}" = "powerpc" ]; then
|
||||
# 5.0 needs these files, but don't error if they aren't present in the source
|
||||
cp -a --parents arch/${ARCH}/kernel/syscalls/syscall.tbl $kerneldir/build/ 2>/dev/null || :
|
||||
cp -a --parents arch/${ARCH}/kernel/syscalls/syscalltbl.sh $kerneldir/build/ 2>/dev/null || :
|
||||
cp -a --parents arch/${ARCH}/kernel/syscalls/syscallhdr.sh $kerneldir/build/ 2>/dev/null || :
|
||||
fi
|
||||
|
||||
# include the machine specific headers for ARM variants, if available.
|
||||
if [ "${ARCH}" = "arm" ]; then
|
||||
cp -a --parents arch/${ARCH}/mach-*/include $kerneldir/build/
|
||||
@@ -214,6 +221,9 @@ do_install() {
|
||||
cp -a --parents kernel/time/timeconst.bc $kerneldir/build
|
||||
cp -a --parents kernel/bounds.c $kerneldir/build
|
||||
cp -a --parents Kbuild $kerneldir/build
|
||||
cp -a --parents arch/mips/kernel/syscalls/*.sh $kerneldir/build
|
||||
cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build
|
||||
cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || :
|
||||
fi
|
||||
|
||||
# required to build scripts/selinux/genheaders/genheaders
|
||||
|
||||
Reference in New Issue
Block a user