All of lore.kernel.org
 help / color / mirror / Atom feed
* OE-Core and MacOS X
@ 2011-04-28 21:12 Mark Hatle
  2011-04-28 21:22 ` Joshua Lock
  2011-04-28 21:24 ` Khem Raj
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Hatle @ 2011-04-28 21:12 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE-Core and MacOS X
  2011-04-28 21:12 OE-Core and MacOS X Mark Hatle
@ 2011-04-28 21:22 ` Joshua Lock
  2011-04-28 21:24 ` Khem Raj
  1 sibling, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-04-28 21:22 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE-Core and MacOS X
  2011-04-28 21:12 OE-Core and MacOS X Mark Hatle
  2011-04-28 21:22 ` Joshua Lock
@ 2011-04-28 21:24 ` Khem Raj
  2011-04-28 21:41   ` Chris Larson
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2011-04-28 21:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, Apr 28, 2011 at 2:12 PM, Mark Hatle <mark.hatle@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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OE-Core and MacOS X
  2011-04-28 21:24 ` Khem Raj
@ 2011-04-28 21:41   ` Chris Larson
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Larson @ 2011-04-28 21:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, Apr 28, 2011 at 2:24 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Thu, Apr 28, 2011 at 2:12 PM, Mark Hatle <mark.hatle@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 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.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-28 21:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 21:12 OE-Core and MacOS X Mark Hatle
2011-04-28 21:22 ` Joshua Lock
2011-04-28 21:24 ` Khem Raj
2011-04-28 21:41   ` Chris Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.