[oe] Amend nullifies cache
clarson at kergoth.com
Sun Jun 20 02:37:00 CEST 2010
On Sat, Jun 19, 2010 at 3:58 PM, Ambrose, Martin <martin at ti.com> wrote:
> # Adding all amend.incs that can exist to the __depends, to ensure that
> # creating one of them invalidates the bitbake cache. Note that it
> # requires a fix in bitbake. Without the bitbake fix, the cache will be
> # completely invalidated on every bitbake execution.
> Which bitbake fix is that so that I can confirm or deny? Though I expect
> I have it since this comment was added in an older commit (73bf2289) when
> file was named amend-recipes.inc. I couldn't find reference to this patch
> in the
> ML maybe because of its age.
See 3adb0d1c23f8b0d153859e78899a0694a27aa0af in the bitbake git repository.
It looks like this may not have been cherry picked to 1.8, I'm not certain
offhand. I'd suggest trying out the 1.10 branch and seeing if you encounter
the same problems.
> Looking further into the amend.bbclass I see that it doesn't add the
> amend.inc files
> to the dependency list if they aren't present on the filesystem. And I
> verified this by
> further debug prints. This is good but leads to the question of where/when
> these non-existent
> files are added to the dependency list.
This is incorrect. The files that do *not* exist are the ones explicitly
added to __depends, if you look at the class again. The files that do exist
get parsed and therefore are automatically added to it.
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the Openembedded-devel