[yocto] Having trouble getting recipe to run in proper directory
Greg Wilson-Lindberg
GWilson at sakuraus.com
Thu Oct 5 13:13:46 PDT 2017
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 at intel.com]
Sent: Thursday, October 05, 2017 12:18 PM
To: Greg Wilson-Lindberg <GWilson at sakuraus.com>
Cc: Paul Eggleton <paul.eggleton at linux.intel.com>; yocto at 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 at sakuraus.com<mailto: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/10ab71ef/attachment.html>
More information about the yocto
mailing list