[OE-core] [PATCH] bitbake.conf/gcc: Add clean masks for stamp files

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 21 13:22:56 UTC 2012


On Fri, 2012-09-21 at 10:36 +0100, Richard Purdie wrote:
> On Thu, 2012-09-20 at 20:03 +0200, Enrico Scholz wrote:
> > 
> > Richard Purdie
> > <richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org>
> > writes:
> > 
> > > +STAMPCLEAN = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PN}-*-*"
> > 
> > Is it intended that this pattern can match unrelated packages? E.g. for
> > PN='gcc-cross', the mask will apply to stampfiles for 'gcc-cross-initial'
> > too.
> 
> No, this is a problem :(
> 
> I saw this last night and have been giving it some thought. We might
> have to put a separator into the stamp file format to make this easier
> to deal with. The downside is that is a TMPDIR layout change :/.
> 
> The thing is the bug this solves is serious even if people only rarely
> hit it and I can't think of a better solution...

I've given this some more thought and there is an easier way out if we
assume PV starts with something numeric. Since the current situation is
rather problematic (I didn't see it locally due to another patch I
have), I've pushed a fix:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=3c101af5e33b21f53171c66de0c2c3e797d95247

I'm going to post some RFCs on other ideas related to this.

Cheers,

Richard





More information about the Openembedded-core mailing list