[bitbake-devel] [PATCH] cooker.py: Remove explicit build targets from the ignored list

Peter Seebach peter.seebach at windriver.com
Fri May 31 16:32:35 UTC 2013


On Fri, 31 May 2013 08:29:43 +0100
Richard Purdie <richard.purdie at linuxfoundation.org> wrote:

> I'm not sure this is the right thing to do, the reason being
> determinism. I don't expect different results for X in the different
> cases:
> 
> bitbake X Y
> 
> bitbake X
> 
> (assuming Y is ASSUME_PROVIDED)
> 
> For example, X will rebuild between these two commands since the sstate
> and task checksums will be different between the two. This really needs
> more thought to make a consistent user experience...

Hmm. I don't *normally* expect different results, but might if the first one
produced a diagnostic: "Warning: Y is in ASSUME_PROVIDED. Rebuilding Y will
produce different versions of anything which depends on Y."

Paul's suggestion that we just print a diagnostic for anything which is in
both targets and ASSUME_PROVIDED might well do, too. Although it might be nice
to have a reasonably straight forward command-line way to express "no, really,
I want you to build Y" which doesn't require config file action.

-s
-- 
Listen, get this.  Nobody with a good compiler needs to be justified.



More information about the bitbake-devel mailing list