diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 87347fa969..8fc0ffdbb3 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -157,7 +157,12 @@ do_install() { | |||
157 | # include a few files for 'make prepare' | 157 | # include a few files for 'make prepare' |
158 | cp -a --parents arch/arm/tools/gen-mach-types $kerneldir/build/ | 158 | cp -a --parents arch/arm/tools/gen-mach-types $kerneldir/build/ |
159 | cp -a --parents arch/arm/tools/mach-types $kerneldir/build/ | 159 | cp -a --parents arch/arm/tools/mach-types $kerneldir/build/ |
160 | cp -a --parents arch/arm/tools/syscall* $kerneldir/build/ | 160 | |
161 | # ARM syscall table tools only exist for kernels v4.10 or later | ||
162 | SYSCALL_TOOLS=$(find arch/arm/tools -name "syscall*") | ||
163 | if [ -n "$SYSCALL_TOOLS" ] ; then | ||
164 | cp -a --parents $SYSCALL_TOOLS $kerneldir/build/ | ||
165 | fi | ||
161 | 166 | ||
162 | cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ | 167 | cp -a --parents arch/arm/kernel/module.lds $kerneldir/build/ |
163 | fi | 168 | fi |