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

Richard Purdie richard.purdie at linuxfoundation.org
Thu Feb 28 22:24:02 UTC 2019


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 :(

Cheers,

Richard



More information about the Openembedded-core mailing list