diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-03-08 19:25:15 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-09 09:27:39 +0000 |
commit | 2841ac9d1f899a7e947af3791599e7e0a816db09 (patch) | |
tree | cdafec9e7e7034dc05196c57bf811fa8efca852b /meta/recipes-kernel | |
parent | caf4767116b671ec027d84ddd4a7f18d266ee399 (diff) | |
download | poky-2841ac9d1f899a7e947af3791599e7e0a816db09.tar.gz |
kernel-devsrc: make mips devsrc files backward compatbile
The additions done to devsrc to support the 5.0 kernel should have
had a graceful failure mode, since the files/directories won't be
present on older (or different) kernel versions.
(From OE-Core rev: 3f0cada40a9f70704a3dc78daddb4a8cbd7dee80)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 4 |
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 cf2b476051..6daeea4f7a 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -221,8 +221,8 @@ do_install() { | |||
221 | cp -a --parents kernel/time/timeconst.bc $kerneldir/build | 221 | cp -a --parents kernel/time/timeconst.bc $kerneldir/build |
222 | cp -a --parents kernel/bounds.c $kerneldir/build | 222 | cp -a --parents kernel/bounds.c $kerneldir/build |
223 | cp -a --parents Kbuild $kerneldir/build | 223 | cp -a --parents Kbuild $kerneldir/build |
224 | cp -a --parents arch/mips/kernel/syscalls/*.sh $kerneldir/build | 224 | cp -a --parents arch/mips/kernel/syscalls/*.sh $kerneldir/build 2>/dev/null || : |
225 | cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build | 225 | cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build 2>/dev/null || : |
226 | cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || : | 226 | cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || : |
227 | fi | 227 | fi |
228 | 228 | ||