[OE-core] OE-Core and MacOS X

Joshua Lock josh at linux.intel.com
Thu Apr 28 21:22:41 UTC 2011


On Thu, 2011-04-28 at 16:12 -0500, Mark Hatle 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.
> 
> 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

Sounds like you've made a good start at this Mark, cool! I had heard one
OE user state that chrpath can't be built on OS X which lead me to file
this bug: http://bugzilla.pokylinux.org/show_bug.cgi?id=806

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Build System Monkey
        Intel Open Source Technology Center





More information about the Openembedded-core mailing list