[OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage
André Draszik
git at andred.net
Wed Nov 2 14:44:47 UTC 2016
On Wed, 2016-11-02 at 13:07 +0100, Marek Vasut wrote:
> The build failed on qemux86-64 because it couldn't execute
> tools/bin2header on a host due to it being compiled with target
> toolchain. Drop the incorrect EXTRA_OEMAKE and just use the one
> from u-boot-common*.inc . Moreover, since U-Boot buildsystem
> already strips the tools, add INSANE_SKIP = "already-stripped" .
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Ross Burton <ross.burton at intel.com>
> ---
> meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb
> b/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb
> index 5025961..76b303e 100644
> --- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2016.09.01.bb
> @@ -3,8 +3,6 @@ require u-boot-common_${PV}.inc
> SUMMARY = "U-Boot bootloader image creation tool"
> DEPENDS = "openssl"
>
> -EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS}
> ${LDFLAGS}" STRIP=true V=1'
Can we keep V=1, please? (Unless it's default anyway).
Cheers,
Andre'
> -
> do_compile () {
> oe_runmake sandbox_defconfig
> oe_runmake cross_tools NO_SDL=1
> @@ -17,3 +15,4 @@ do_install () {
> }
>
> BBCLASSEXTEND = "native nativesdk"
> +INSANE_SKIP_${PN} = "already-stripped"
> --
> 2.9.3
>
More information about the Openembedded-core
mailing list