Hi Ross,

 

Thanks for the insight, I guess I'll have to go back and do a bit more fiddling than I was thinking I might get by with, oh well.

 

Greg

 

From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Thursday, October 05, 2017 12:18 PM
To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>; yocto@yoctoproject.org
Subject: Re: [yocto] Having trouble getting recipe to run in proper directory

 

On 5 October 2017 at 18:51, Greg Wilson-Lindberg <GWilson@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