]> code.ossystems Code Review - openembedded-core.git/commit
kernel-devsrc: restore compatibility with kernel < v4.10
authorS. Lockwood-Childs <sjl@vctlabs.com>
Tue, 5 Feb 2019 00:39:01 +0000 (16:39 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2019 08:29:02 +0000 (08:29 +0000)
commit7b4d77d7f909c0ae27553fd9c480f069f12e468f
tree19da41ee19b81f83be81a8766d3610a744e15023
parent6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5
kernel-devsrc: restore compatibility with kernel < v4.10

The kernel commit that added the syscall table generation tools
for ARM platform (ARM: convert to generated system call tables)
wasn't merged until kernel release v4.10.

Current assumption in kernel-devsrc recipe is that these syscall
scripts exist, which breaks the build for external board layers that are
still using 4.9.x kernels:

  cp: cannot stat ‘arch/arm/tools/syscall*’: No such file or directory

so only try to install the scripts when they actually exist.

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/kernel-devsrc.bb