[OE-core] OE-Core and MacOS X

Khem Raj raj.khem at gmail.com
Thu Apr 28 21:24:43 UTC 2011


On Thu, Apr 28, 2011 at 2:12 PM, Mark Hatle <mark.hatle at windriver.com> wrote:
> I've started working on getting bitbake and OE-Core building on MacOS X.  So far
> what I have are some pretty hacky patches.. but they should be a reasonable start.
>

You might be interested in
http://git.openembedded.org/cgit.cgi/openembedded/log/?h=koen/darwin-host-fixes
there might be some interesting bits still relevant

> I've pushed my changes to the git://git.pokylinux.org/poky-contrib.git
> repository and the "mhatle/macosx/bitbake" and "mhatle/macosx/oe-core" branches.
>
> The way I am doing builds is:
>
> git clone git://git.pokylinux.org/poky-contrib.git oe-core
> cd oe-core
> git checkout mhatle/macosx/oe-core
> git clone . bitbake
> cd bitbake
> git checkout mhatle/macosx/bitbake
> cd ..
> . ./oe-init-build-env build-macosx
>
>
> Then you edit the conf/local.conf, add the following to the top of the file:
>
> BUILD_ARCH = "x86_64"
> TARGET_OS = "linux"
>
> PREFERRED_VERSION_pseudo-native = "1.0+git%"
> PSEUDOSRCREV = "481c6ff64f8aa6de01d3cb4042914f8e9f8d0abb"
>
> PATCHRESOLVE = 'noop'
>
> DISTRO = 'poky'
>
>
> This allows me to build through the stage 1 part of the build (pseudo) and onto
> the second stage.. it gets the 'gmp' and fails.
>
> On my Mac OS X machine, I need to install the following items (beyond the normal
> BSD tools):
>
> gawk, git, mercurial, sed, tar and wget
>
> --Mark
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list