summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRuslan Bilovol <rbilovol@cisco.com>2020-02-14 21:24:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-03 13:06:29 +0000
commitfa4945100a3218b94f0d02d1949fcb4936ce762f (patch)
tree2fa85bf5f12297b500600c1934d6b929046a511c /meta
parentbd5635d7aed73cebea9bbb390378a829e33c4e3e (diff)
downloadpoky-fa4945100a3218b94f0d02d1949fcb4936ce762f.tar.gz
kernel-devsrc: support 4.4+ ARM/ARM64 kernels
Linux Kernel 4.4 is an LTS kernel so people may still build it with OE. Thus make copying of some files optional: - arm64 module.lds file first appeared with kernel v4.6 commit fd045f6cd98e arm64: add support for module PLTs" - arm32 *.tbl files first appeared in kernel v4.10 in commit 96a8fae0fe09 "ARM: convert to generated system call tables" (From OE-Core rev: 3329dd6ea914c5fadbf63ecbfde9c66472df19ee) Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 2888236628..5940cc90ea 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -147,7 +147,7 @@ do_install() {
147 cp -a --parents arch/arm64/kernel/vdso/note.S $kerneldir/build/ 147 cp -a --parents arch/arm64/kernel/vdso/note.S $kerneldir/build/
148 cp -a --parents arch/arm64/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/ 148 cp -a --parents arch/arm64/kernel/vdso/gen_vdso_offsets.sh $kerneldir/build/
149 149
150 cp -a --parents arch/arm64/kernel/module.lds $kerneldir/build/ 150 cp -a --parents arch/arm64/kernel/module.lds $kerneldir/build/ 2>/dev/null || :
151 fi 151 fi
152 152
153 if [ "${ARCH}" = "powerpc" ]; then 153 if [ "${ARCH}" = "powerpc" ]; then
@@ -187,7 +187,7 @@ do_install() {
187 187
188 # required for generate missing syscalls prepare phase 188 # required for generate missing syscalls prepare phase
189 cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build 189 cp -a --parents $(find arch/x86 -type f -name "syscall_32.tbl") $kerneldir/build
190 cp -a --parents $(find arch/arm -type f -name "*.tbl") $kerneldir/build 190 cp -a --parents $(find arch/arm -type f -name "*.tbl") $kerneldir/build 2>/dev/null || :
191 191
192 if [ "${ARCH}" = "x86" ]; then 192 if [ "${ARCH}" = "x86" ]; then
193 # files for 'make prepare' to succeed with kernel-devel 193 # files for 'make prepare' to succeed with kernel-devel