OE, bitbake and dependencies
Michael 'Mickey' Lauer
mickey at vanille-media.de
Thu Oct 9 19:09:43 CEST 2008
Am Donnerstag, den 09.10.2008, 11:27 +0100 schrieb Alastair Johnson:
> Sort of. According to example 4.7 in
> http://bitbake.berlios.de/manual/ch04s02.html this needs setting in a
> .conf file not in the .bb file. I've set it in local.conf and bitbake
> now builds the right version, though it looks like I've got some
> cleaning up to do as linphone still seems to try linking against the
> wrong version. This doesn't seem like the best place for dependency
> information though since it separates the dependency information from
> the package that has the dependency. Can I put this in the .bb file, or
> is there another config file I should be using?
PREFERRED_* is distro policy, hence should usually be in config or local
files.
If you really need to state it in the recipe, try using
DEPENDS = "foo-1.2.3"
and
RDEPENDS = "foo (>=1.2.3)"
Note that this is considered ugly.
:M:
More information about the devel
mailing list