OE-Core and MacOS X
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
Quoted 3 lines · Mark Hatle
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
Quoted 43 lines
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.gitoe-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-macosxThen 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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 8 lines · Khem Raj
Quoted 3 lines · Mark Hatle
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 did some work on this in the past as well. There may be a commit or two at http://git.openembedded.org/cgit.cgi/openembedded/log/?h=darwin
worth grabbing. There's also the openembedded/bin/darwin/ wrapper scripts in upstream OE, that deal with gnu vs bsd cp/sed arguments.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 31 lines · Mark Hatle
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.gitoe-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-macosxThen 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'
Quoted 7 lines
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
Signature · 3 lines
Joshua Lock
Yocto Build System Monkey
Intel Open Source Technology Center