[oe] Bitbake wrapper

Esben Haabendal eha at doredevelopment.dk
Thu Nov 22 13:13:55 UTC 2007


Hi

For what it is worth, the attached bash script when placed
somewhere in PATH before bitbake make bitbake into a location
aware tool if not setup in any other way.

So if/when you want to have it behave as it does now, just
remember to setup PATH, BBPATH and so on and go on with your
business (as usual).

But if you don't setup variables in advance (for whatever reason),
just go into your build directory, or any subdir of that and do
your bitbake commands as before. You just have to place a file
called .bbenv in the top builddir that when sourced into your
shell (bash) setup BBPATH, PYTHONPATH, PATH and any additional
variables needed by your build.

Example .bbenv:

export OEDIR="/stuff"
export BBPATH="${OEDIR}/local:${OEDIR}/build/foo:${OEDIR}/openembedded"
export PYTHONPATH="${OEDIR}/bitbake/libbitbake"
export PATH="${OEDIR}/bitbake/bin:${PATH}"

AFAICS, it only adds functionality without removing any
capabilities for "power-users".

/Esben
-- 
Esben Haabendal
Embedded Software Consultant
Doré Development ApS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitbake
Type: application/octet-stream
Size: 693 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20071122/ac2fed52/attachment-0002.obj>


More information about the Openembedded-devel mailing list