[oe] amend-recipes.inc

Christopher Larson clarson at mvista.com
Fri May 22 18:20:55 UTC 2009


I created a little .inc that can be loaded into a distro .conf.  It  
just enables the ability to amend bits to a recipe from its  
filespath.  I mentioned this in a previous email wrt managing  
overlays.  It's incredibly simple, but I'd like a sanity check :)  It  
seems to work fine in my local test builds.

python () {
	import bb
	amendfile = bb.which(d.getVar("FILESPATH", 1), "amend.inc")
	if amendfile:
		bb.parse.handle(amendfile, d, 1)
}
-- 
Chris Larson
Software Engineer
MontaVista Software, Inc.
Email: clarson AT mvista DOT com
Email: clarson AT kergoth DOT com




More information about the Openembedded-devel mailing list