[OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage
Marek Vasut
marex at denx.de
Sat Nov 12 18:31:22 UTC 2016
On 11/09/2016 01:15 AM, Burton, Ross wrote:
>
> On 7 November 2016 at 18:20, Marek Vasut <marex at denx.de
> <mailto:marex at denx.de>> wrote:
>
> -EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}
> ${CFLAGS} ${LDFLAGS}" STRIP=true V=1'
> +EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
> +EXTRA_OEMAKE_append_class-target =
> 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}"
> STRIP=true V=1'
> +EXTRA_OEMAKE_append_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS}
> ${BUILD_LDFLAGS}" STRIP=true V=1'
> +EXTRA_OEMAKE_append_class-nativesdk = 'CC="${BUILD_CC}
> ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
>
>
> You're going to start hating u-boot...
>
> Fails on the autobuilder if you're building for a 32-bit x86 target on a
> 64-bit x86 host:
>
> ERROR: QA Issue: Architecture did not match (x86-64, expected x86) on
> /work/i586-poky-linux-musl/u-boot-mkimage/1_2016.09.01-r0/packages-split/u-boot-mkimage/usr/bin/uboot-mkimage
> [arch]
>
> I'm guessing that it is using the host compiler instead of the cross
> compiler.
I should have a fix for it all I hope.
--
Best regards,
Marek Vasut
More information about the Openembedded-core
mailing list