[bitbake-devel] bitbake DEPENDS problem

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 18 12:00:10 UTC 2013


On Thu, 2013-01-17 at 19:50 +0100, hallerHarry at gmx.de wrote:
> Hi,
> 
> I've got the below described minimalistic bitbake setup. There are two
> recipes where one recipe (mySecPkg.bb) DEPENDS on the other
> (myPkg.bb).
> According to the OpenEmbedded User Manual [1] and the Yocto Pokey
> Manual Section 2.3 [2] I would have expected if I run build against
> mySecPkg that bitbake obeys inter-package dependencies and also builds
> myPkg since mySecPkg DEPENDS on it.
> But this is not the case. Bitbake only builds mySecPkg. Is there
> something wrong with my assumption or setup? I would appreciate if
> someone could shed some light on that.
> 
> Thanks in advance for any assistance provided!

You've not added any information about what DEPENDS means. Try adding
something like:

do_build[deptask] = "do_build"

to myBaseClass.bbclass which will then cause it to look at DEPENDS for
the do_build task.

Cheers,

Richard





More information about the bitbake-devel mailing list