<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 7 November 2016 at 18:20, Marek Vasut <span dir="ltr"><<a href="mailto:marex@denx.de" target="_blank">marex@denx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:22m" class="gmail-a3s gmail-aXjCH gmail-m158400582b1a1c80">-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_<wbr>PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1'<br>
+EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'<br>
+EXTRA_OEMAKE_append_class-<wbr>target = 'CROSS_COMPILE="${TARGET_<wbr>PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1'<br>
+EXTRA_OEMAKE_append_class-<wbr>native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'<br>
+EXTRA_OEMAKE_append_class-<wbr>nativesdk = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'</div></blockquote></div><br>You're going to start hating u-boot...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Fails on the autobuilder if you're building for a 32-bit x86 target on a 64-bit x86 host:</div><br>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]<div><br></div><div>I'm guessing that it is using the host compiler instead of the cross compiler.</div><div><br></div><div>Ross</div></div>