[OE-core] OE-Core and MacOS X
Mark Hatle
mark.hatle at windriver.com
Thu Apr 28 21:12:54 UTC 2011
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
--Mark
More information about the Openembedded-core
mailing list