[oe] Getting Started -Makefile

Koen Kooi k.kooi at student.utwente.nl
Tue Nov 20 09:58:36 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rod Whitby schreef:

> Show how you can use bitbake such that you can cd into a build area, and
> type a *single* bitbake command to do a build, then cd into a different
> build area (with a different distro and machine)

Why are you using a different build area for that? That's unnecessary.
Just do something like

TMPDIR = "/OE/tmp/${DISTRO}"

in site.conf. If your distro is a bit behind the times and doesn't use
multimachine add:

INHERIT += "multimachine"

No need for seperate build areas. If you use angstrom you can even
switch C library ([e]glibc vs uclibc), as outlined in
http://www.angstrom-distribution.org/building-angstrom
You can even have per distro tweaks using include statements, but I'll
leave that as an exercise to the reader. No need for seperate build
areas. At all.


- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHQq/MMkyGM64RGpERApx4AJwLiQrVBbGDGlrdVfN8P6TzUl5u+wCfZIH8
YaWoQ3YzbtknQqu5sJ44Ito=
=PlQ1
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list