[yocto] Having trouble getting recipe to run in proper directory

Burton, Ross ross.burton at intel.com
Thu Oct 5 12:18:22 PDT 2017


On 5 October 2017 at 18:51, Greg Wilson-Lindberg <GWilson at sakuraus.com>
wrote:

> ERROR: configure failed
> Unknown argument --build=x86_64-linux
>
> so bitbake is including an option that the configure script doesn't
> understand. Is there a way to delete that option
>

If configure doesn't recognise that option then it's not really autotools
and you shouldn't be using the autotools class.

Looking at it I'm right,
https://bitbucket.org/Mongo/canfestival-3-asc/src/8973dd8be7e8d65a25f608fc57557c80edf20bb4/configure?at=default&fileviewer=file-view-default
is just a hand-crafted script using bash that is called "configure".  Don't
inherit autotools, and instead look at the --help output and pass all the
values you'll need to (such as --cc).  Hopefully it cross-compiles
correctly...

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171005/c0feef95/attachment.html>


More information about the yocto mailing list