On Mon, Nov 18, 2019 at 4:10 PM Greg Wilson-Lindberg
<gwil...@sakuraus.com> wrote:
>
> Hi Khem,
>
> I found the BBCLASSEXTEND in the qemu.inc file, I also found a line in the 
> .bb file:
>
> SRC_URI_append_class-native = " \
>
>
> so I changed my SRC_URI to that and I stopped getting the 'can't find file to 
> patch' error, but the file (syscall.c) is not modified.
>
>
> Here is my qemu_3.0.0.bbappend file, 
> meta-sakura/recipes-devtools/qemu/qemu_3.0.0.bbappend:
>
> FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"
>
> SRC_URII_append_class-native = 
> "file://syscall.c-add_missing_sockios_header_include.patch"
                   ^^
If you pasted exactly what you have then there is a typo above it
should be SRC_URI_append_class-native ...

> And here is the patch file 
> .../qemu/syscall.c-add_missing_sockios_header_include.patch:
> --- a/linux-user/syscall.c    2019-11-18 09:42:39.000000000 -0800
> +++ b/linux-user/syscall.c    2019-11-18 09:23:23.000000000 -0800
> @@ -34,6 +34,7 @@
>  #include <sys/resource.h>
>  #include <sys/swap.h>
>  #include <linux/capability.h>
> +#include <linux/sockios.h>
>  #include <sched.h>
>  #include <sys/timex.h>
>  #include <sys/socket.h>
>
> I am not getting the:
>
> ...tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c
>
> modified.
>
>
> I'm obviously missing something. Any help would be greatly appreciated.
>
>
> Regards,
>
> Greg
>
>
> ________________________________
> From: Khem Raj <raj.k...@gmail.com>
> Sent: Monday, November 18, 2019 3:30:27 PM
> To: Greg Wilson-Lindberg
> Cc: Yocto list discussion
> Subject: Re: [yocto] [qemu] can't find qemu-native recipe
>
> On Mon, Nov 18, 2019 at 3:27 PM Greg Wilson-Lindberg
> <gwil...@sakuraus.com> wrote:
> >
> > I'm building thud for the raspberry pi3 for boot2qt on Ubuntu 18.04.
> > I've got a patch that I need to apply to to fix an include file problem and 
> > I can't find the qemu-native recipe. I can find a number of recipes that 
> > depend in one way or another on 'qemu-native', but I can't find a recipe, 
> > class for it or anything that provides it. I can see it being built, and I 
> > get an error that indicates that the patch that I have needs to be applied. 
> > I can find tmp/work/x86_64-linux/qemu-native/.
> >
> > In the cooker log I see:
> > task qemu_3.0.0
> > recipe qemu-native-3.0.0
> >
> > But I can't find a qemu-native.bb file,or bbclass.
> >
> > I'm rather confused at this point, can someone shed a bit of light on what 
> > I'm missing?
> >
>
> there must be BBCLASSEXTEND = "native" in qemu recipe which
> essentially automatically extends the recipe for native case
>
> see
> https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-BBCLASSEXTEND
>
> > Regards,
> > Greg Wilson-Lindberg
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to