[OE-core] [PATCH v2] u-boot: Fix missing Python.h build failure

Alexander Kanavin alex.kanavin at gmail.com
Thu Apr 18 12:16:59 UTC 2019


Can we take this opportunity to teach u-boot to use Python 3.x
instead? oe-core is trying to eliminate Python 2.x dependencies
everywhere.

Alex

On Thu, 18 Apr 2019 at 13:38, Alistair Francis <alistair at alistair23.me> wrote:
>
> Signed-off-by: Alistair Francis <alistair at alistair23.me>
> ---
>  meta/recipes-bsp/u-boot/u-boot.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
> index 96c1f94011..9a754fd09b 100644
> --- a/meta/recipes-bsp/u-boot/u-boot.inc
> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
> @@ -13,7 +13,7 @@ DEPENDS += "swig-native python-native"
>
>  EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
>  EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
> -EXTRA_OEMAKE += 'PYTHON=nativepython STAGING_INCDIR=${STAGING_INCDIR_NATIVE} STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}'
> +EXTRA_OEMAKE += 'PYTHON2=nativepython STAGING_INCDIR=${STAGING_INCDIR_NATIVE} STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}'
>
>  PACKAGECONFIG ??= "openssl"
>  # u-boot will compile its own tools during the build, with specific
> --
> 2.20.1
>
> --
> _______________________________________________
> 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