On Wed, Mar 2, 2011 at 3:56 PM, Avishay Orpaz <[email protected]> wrote: > My question is actually a user question, but I'm posting it here since I > didn't found bitbake user forum list. > I'm trying to use bitbake by itself, outside of OE (or gustmix or anything > else). I've managed to run tasks with dependencies within a single bb file, > but bitbake doesn't seem to obey DEPENDS=... declarations. I wonder if this > functionality is in the core of bitbake, or it is implemented by some class. > Same question goes for the PROVIDES declaration - is it implemented by > bitbake itself or some class in OE?
bitbake operates at a task level, not a recipe level, generally. It uses DEPENDS to process task deptask flags. The fact that you have your DEPENDS do_populate_sysroot tasks run before your do_configure (which is the case in OE) isn't magic, it's declared. See around line 279 of OE's base.bbclass: do_configure[deptask] = "do_populate_sysroot" -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics _______________________________________________ Bitbake-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bitbake-dev
