<p dir="ltr"></p>
<p dir="ltr">On Jul 10, 2016 2:53 AM, &quot;Burton, Ross&quot; &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On 10 July 2016 at 00:27, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; +       local m=`uname -m`<br>
&gt;&gt; +       if [ &quot;$m&quot; = &quot;i686&quot; -o &quot;$m&quot; = &quot;i586&quot; -o &quot;$m&quot; = &quot;i486&quot; -o &quot;$m&quot; = &quot;i386&quot; ]; then<br>
&gt;&gt; +               echo &quot;n&quot;;<br>
&gt;&gt; +-      elif [ &quot;$m&quot; = &quot;x86_64&quot; ]; then<br>
&gt;&gt; ++      elif [ &quot;$m&quot; = &quot;x86_64&quot; -o &quot;$m&quot; = &quot;aarch64&quot; ]; then<br>
&gt;&gt; +               echo &quot;y&quot;;<br>
&gt;&gt; +       else<br>
&gt;<br>
&gt;<br>
&gt; Surely this entire block is wrong for cross-compilation - looking at uname to determine what to build for the target?</p>
<p dir="ltr">Yes it is however the recipe is limited to x86 and now that we add a non x86 build host this is a compromise I came up with. Hopefully we wont have folks adding host architectures to Build oe on so regularly. Otherwise we wont need cross compiling ;)<br>
&gt;<br>
&gt; Ross<br></p>