[OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage

Khem Raj raj.khem at gmail.com
Wed Nov 9 00:43:32 UTC 2016



On 11/8/16 4:15 PM, 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.

isnt mkimage a host tool ? why are we building it for target ?

> 
> Ross
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161108/e73405d2/attachment-0002.sig>


More information about the Openembedded-core mailing list