[yocto] Building on MacOS X

Tim Orling timothy.t.orling at linux.intel.com
Thu Jan 12 14:16:40 PST 2017


> On Jan 12, 2017, at 10:43 AM, Maciej Borzęcki <maciej.borzecki at rndity.com> wrote:
> 
> On Thu, Jan 12, 2017 at 7:12 PM, Andrea Galbusera <gizero at gmail.com <mailto:gizero at gmail.com>> wrote:
>> On Thu, Jan 12, 2017 at 6:55 PM, Maciej Borzęcki
>> <maciej.borzecki at rndity.com> wrote:
>>> 
>>> On Thu, Jan 12, 2017 at 4:39 PM, Tim Orling
>>> <timothy.t.orling at linux.intel.com> wrote:
>>>> You can also build using Docker containers:
>>>> https://github.com/crops/docker-win-mac-docs/wiki
>>> 
>>> IIRC docker on mac relies on docker-machine, which in turn spins up a
>>> virtualbox VM.
>> 
>> 
>> Not anymore! There's a native implementation [1] but still a linux kernel
>> around anyway! ;-)
>> 
>> [1]
>> https://www.docker.com/docker-news-an.d-press/docker-released-native-mac-and-windows-apps-optimize-developer-experience
> 
> Good to know. There is still hope for mac users after all :)

My main development machine is Mac OS X 10.12.2 (Sierra). I stay up to date with the latest Docker for Mac beta. It is a very pleasant experience.

> 
>>> 
>>> 
>>> 
>>>> 
>>>> On Jan 12, 2017, at 7:34 AM, Burton, Ross <ross.burton at intel.com> wrote:
>>>> 
>>>> 
>>>> On 12 January 2017 at 15:14, Roger Smith <roger at sentientblue.com> wrote:
>>>>> 
>>>>> Is there any documentation for running the Yocto build system on Mac OS
>>>>> X
>>>>> or macOS as Apple now calls it? I am working with the Intel Aero board.
>>>>> Before I go down the rabbit hole of fixing issues like this one (and I
>>>>> am
>>>>> using the bash shell), I’d like to know if anyone has build it on os x
>>>>> before.
>>>> 
>>>> 
>>>> If you install all of the GNU tools using brew or similar and put them
>>>> first
>>>> on $PATH then you can get bitbake started.  Then you need to stub out
>>>> the
>>>> linux-specific bits in bitbake.  I've previously started on this work
>>>> already
>>>> 
>>>> (http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=ross/darwin).
>>>> The next step is figuring out how to configure OE to build and link
>>>> natively
>>>> on OSX using LLVM instead of GCC.
>>>> 
>>>> However all of this is mostly academic because in Sierra (iirc) onwards
>>>> there is tighter security on processes, which means that pseudo won't
>>>> work
>>>> even if you port it to macOS.
>>>> 
>>>> So unless you fancy some non-trivial engineering the short version is
>>>> just
>>>> use something like Docker to run a Linux system on your Mac.
>>>> 
>>>> Ross
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>> 
>>>> 
>>>> 
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Maciej Borzecki
>>> RnDity
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
>> 
> 
> 
> 
> -- 
> Maciej Borzecki
> RnDity

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170112/7c6b88a3/attachment.html>


More information about the yocto mailing list