[OE-core] [PATCH] v86d: Accept aarch64 as build host

Khem Raj raj.khem at gmail.com
Sun Jul 10 17:59:12 UTC 2016


On Jul 10, 2016 2:53 AM, "Burton, Ross" <ross.burton at intel.com> wrote:
>
>
> On 10 July 2016 at 00:27, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> +       local m=`uname -m`
>> +       if [ "$m" = "i686" -o "$m" = "i586" -o "$m" = "i486" -o "$m" =
"i386" ]; then
>> +               echo "n";
>> +-      elif [ "$m" = "x86_64" ]; then
>> ++      elif [ "$m" = "x86_64" -o "$m" = "aarch64" ]; then
>> +               echo "y";
>> +       else
>
>
> Surely this entire block is wrong for cross-compilation - looking at
uname to determine what to build for the target?

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 ;)
>
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160710/eff8ea69/attachment-0002.html>


More information about the Openembedded-core mailing list