scottoberg at gmail.com
Sun Jan 28 08:10:15 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Richard Boehme wrote:
> Build confusion:
> 1) I'm using Ubuntu 6.10 (Edgy Eft). There are instructions for it.
> Other than Monotone, which isn't the right version, I supposedly
> 'have' OpenEmbedded and bitbake. My project SVN name is OMBalance, so
> I created a build/conf directory inside the OMBalance directory, and
> created local.conf, with the contents:
> MACHINE = "ep93xx"
> DISTRO = "generic"
> However, what I'm having trouble figuring out are many and varied:
> 1) Do I actually have OpenEmbedded and bitbake, or do I need to get OE
> from Monotone, after bypassing my package manager to do so? Are there
> any packages for the appropriate Monotone?
> 2) OK, let's supposed I get over that hurdle and have OE build 'nano'
> fine. I can't find a sample that would tell me where I can instruct
> OE/Bitbake to pick up my source locally... or even where to find the
> source files and tell it what language they're in and how to compile
> them. Do I have to commit my changes to Subversion each time I want to
> rebuild for the phone?
> 3) Does anyone have a sample 'Moko Hello World' that comes with
> Bitbake/OE files etc. that we can use as a sample?
Once you've worked your way through the getting started guide's checkout
of the OE dev branch, you should be able to look into some of the
bitbake 'recipe' files that allow you to instruct/script bitbake to
build your favorite package.
(from the GettingStarted guide: the cmd that checks out the branch from
monotone, mtn, for the first time)
mtn --db=/stuff/OE.mtn checkout --branch=org.openembedded.dev
There are > 1470 packages already in the org.openembedded.dev/packages
dir. I would look into the recipe (.bb file) for an app that you are
familiar with, e.g. tar or a gtk+ game, to see how to make your own
recipe. The existing .bb files serve as good examples:)
The wiki's main page has a links to various tutorials and the bb file
I hope that helps. I think that the best place for this info is on the
OE wiki because that will be updated and this Post will eventually be
out of date. Maybe sooner than I think;)
> 4) I remember some mention of OpenMoko specific UI bits in addition to
> the usual GTK+ stuff. I'm fine with waiting to form my OpenMoko GUI
> until Feb. 11. However, how do we restrict the size to the OpenMoko
> screen, handle the app closing, etc. This question is probably
> answered by 'I need to learn more about GTK+".
> 5) I'm planning on building SQLite and using that for my database. How
> do we install and access shared libraries on the system? Do we put
> them in a lib directory and assume they're there?
> 6) Is the standard way for OpenMoko apps to install to the phone a
> package system? How shiny/graphical/grandmother friendly will it be?
> That's the end of my newbie questions for this email.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-devel