<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 7 November 2016 at 18:20, Marek Vasut <span dir="ltr">&lt;<a href="mailto:marex@denx.de" target="_blank">marex@denx.de</a>&gt;</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 = &#39;CROSS_COMPILE=&quot;${TARGET_<wbr>PREFIX}&quot; CC=&quot;${CC} ${CFLAGS} ${LDFLAGS}&quot; STRIP=true V=1&#39;<br>
+EXTRA_OEMAKE = &#39;HOSTCC=&quot;${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}&quot;&#39;<br>
+EXTRA_OEMAKE_append_class-<wbr>target = &#39;CROSS_COMPILE=&quot;${TARGET_<wbr>PREFIX}&quot; CC=&quot;${CC} ${CFLAGS} ${LDFLAGS}&quot; STRIP=true V=1&#39;<br>
+EXTRA_OEMAKE_append_class-<wbr>native = &#39;CC=&quot;${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}&quot; STRIP=true V=1&#39;<br>
+EXTRA_OEMAKE_append_class-<wbr>nativesdk = &#39;CC=&quot;${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}&quot; STRIP=true V=1&#39;</div></blockquote></div><br>You&#39;re going to start hating u-boot...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Fails on the autobuilder if you&#39;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&#39;m guessing that it is using the host compiler instead of the cross compiler.</div><div><br></div><div>Ross</div></div>