[oe] [RFC] Local files search in overlay folders first
Chris Larson
clarson at kergoth.com
Thu Dec 16 15:26:30 UTC 2010
2010/12/16 Денис Дыдычкин <nyrl at mail.ru>:
> I am using OE with my own overlay and I want to adjust linux kernel settings with minimal efforts. I have the following structure:
> oe/
> recipes/
> linux/
> linux-davinci.inc
> linux-davinci_git.bb
>
> <others-includes>
> linux-davinci/
> <patches>
> omapl137/
> defconfig
> overlay/
> recipes/
> BBPATH="<topdir>/overlay:<topdir>/oe"
>
> What I generally want is to simply replace defconfig with my own without changing recipe and touching other patches. I consider that having this structure could be fine for me:
> overlay/
> recipes/
> linux/
> linux-davinci/
> omapl137/
> defconfig (modified)
>
> It does not work for release-2010.12 of OE and it does not seems to work in master either.
>
>
> I believe that changing FILESPATHBASE so that it will look in "recipes/linux/linux-davinci/omapl137" subfolder for each entry in BBPATH in defined order would solve my problem. For given example having FILESPATHBASE defines as "<topdir>/overlay/recipes/linux:<topdir>/oe/recipes/linux" would be enough.
Yes, that's correct, and is a common approach among those utilizing
collections/layers, but I don't believe it's in OE in any form. A
.conf for the user/distro to include would likely be a bit cleaner
than a bbclass.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the Openembedded-devel
mailing list