[oe-commits] [openembedded-core] branch master updated: kernel-devsrc: make mips devsrc files backward compatbile

git at git.openembedded.org git at git.openembedded.org
Sat Mar 9 09:29:15 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
     new 3f0cada  kernel-devsrc: make mips devsrc files backward compatbile
3f0cada is described below

commit 3f0cada40a9f70704a3dc78daddb4a8cbd7dee80
Author: Bruce Ashfield <bruce.ashfield at gmail.com>
AuthorDate: Fri Mar 8 19:25:15 2019 -0500

    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.
    Signed-off-by: Bruce Ashfield <bruce.ashfield at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-kernel/linux/kernel-devsrc.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index cf2b476..6daeea4 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -221,8 +221,8 @@ 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/kernel/syscalls/*.sh $kerneldir/build 2>/dev/null || :
+	    cp -a --parents arch/mips/kernel/syscalls/*.tbl $kerneldir/build 2>/dev/null || :
 	    cp -a --parents arch/mips/tools/elf-entry.c $kerneldir/build 2>/dev/null || :

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list