[yocto] confusion about DEPENDS vs RDEPENDS
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Sep 2 07:14:20 PDT 2013
Hi Lothar,
On Monday 02 September 2013 15:17:28 lothar at denx.de wrote:
> I followed this very interesting thread, and have a question on the last
> statement, just for understanding:
>
> Are the limitations you are explaining here, the same as mentioned in...
> http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html
> ...under "Checksums (Signatures)", telling that:
> "Consider a case with in-line Python, for example, where BitBake is not
> able to figure out dependencies." ? So to speak, are those limitations
> the cases, where bitbake is not able to figure out dependencies
> correctly?
That is to do with variable dependencies so it's not exactly what is being
discussed earlier in the thread; however if these are not able to be detected
they can result in signatures not changing when you change the value of one of
the variables upon which there is a missing dependency and thus items not
being rebuilt as expected. However, there is some "magic" in
bitbake/lib/bb/codeparser.py which picks up most of the common cases within
python code (e.g. usage of d.getVar()), so most of the time this is not a
concern.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list