[OE-core] [PATCH] qemu-native: Add missing fdt PACKAGECONFIG

Khem Raj raj.khem at gmail.com
Thu Feb 28 22:25:17 UTC 2019


On Thu, Feb 28, 2019 at 2:24 PM Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>
> On Thu, 2019-02-28 at 21:33 +0000, Alistair Francis wrote:
> > This is required to fix this build failure:
> >
> > qemu-3.1.0/hw/core/loader-fit.c:30:10: fatal error: libfdt.h: No such
> > file or directory
> >  #include <libfdt.h>
> >           ^~~~~~~~~~
> > compilation terminated.
> >
> > Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> > ---
> >  meta/recipes-devtools/qemu/qemu-native_3.1.0.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-devtools/qemu/qemu-native_3.1.0.bb
> > b/meta/recipes-devtools/qemu/qemu-native_3.1.0.bb
> > index c8acff8e19..0b6a7f8b6e 100644
> > --- a/meta/recipes-devtools/qemu/qemu-native_3.1.0.bb
> > +++ b/meta/recipes-devtools/qemu/qemu-native_3.1.0.bb
> > @@ -6,4 +6,4 @@ require qemu-native.inc
> >
> >  EXTRA_OECONF_append = " --target-list=${@get_qemu_usermode_target_li
> > st(d)} --disable-tools --disable-blobs --disable-guest-agent"
> >
> > -PACKAGECONFIG ??= ""
> > +PACKAGECONFIG ??= "fdt"
>
> I think this is a rebuild bug, did you try cleaning and rebuilding
> qemu-native?
>
> I did hit this when testing but in amongst the rest of the chaos from
> today, forgot that :(
>

dont think so , if one has libfdt on host and is not version qemu like
it will have build errors.

> Cheers,
>
> Richard
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list