On Sun, Jul 18, 2010 at 9:01 AM, Detlef Vollmann <d...@vollmann.ch> wrote:
> On 07/18/10 17:13, Chris Larson wrote: > >> On Sun, Jul 18, 2010 at 3:06 AM, Detlef Vollmann <d...@vollmann.ch> wrote: >> >> On 07/16/10 16:25, Richard Purdie wrote: >>> >>> For the specific case of paths, I have wondered if there would be a way >>>> to leverage help from bitbake in creating a sane set of search paths but >>>> I'm still thinking about that. This extension is good enough in its own >>>> right in my opinion to be worthwhile. >>>> >>>> This might be true, but solving the general path problem would be >>> much more useful. >>> If you want to add a new version of e.g. gcc in your ovlerlay, >>> you have to pull over the whole gcc directory with all its .inc classes. >>> This can't be solved by .bbapend, or am I missing something? >>> >> >> >> You can handle that today by adding to FILESPATHBASE. All file:// files >> from SRC_URI are located using FILESPATH, which is constructed from >> FILESPATHBASE, FILESPATHPKG, and OVERRIDES. >> > AFAIK this doen't work for include/require :-( Don't copy the recipe at all, use .bbappend instead, and you won't need to have the .inc in a different collection from the recipe itself. Alternatively, you can adjust BBPATH to also include the other collection based paths + os.path.dirname('${FILE_DIRNAME}') or so. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel