On 20/08/2019 10:13, Ross Burton wrote:
On 20/08/2019 09:53, Andy Pont wrote:
This may be a really dumb question but is it possible to generate an
SDK from a Yocto build that will allow cross compilation of an
application to be done on a machine running macOS?
Yes, with caveats: http://git.yoctoproject.org/cgit/cgit.cgi/meta-darwin
The caveats are that it's not especially pretty as you can't just
download macOS headers, and hasn't been used since 2015 so might need a
little updating.
Did a little poking.
The need to build a SDK tarball on an existing macOS could probably be
removed by using one of the convenient tarballs from
https://github.com/phracker/MacOSX-SDKs/releases.
The SDK is 32-bit, which is going to be an issue on modern macOS systems.
The layer has several versioned bbappends which need updating to work
with recent releases.
None of this is insurmountable, meta-darwin has been used for products
in the past and with a little effort can be made to do so again.
Ross
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto