[oe] [PATCH] Reverse the order of OVERRIDES

Chris Larson clarson at kergoth.com
Sat Oct 16 18:24:06 UTC 2010


On Sat, Oct 16, 2010 at 11:04 AM, Martin Jansa <martin.jansa at gmail.com>wrote:

> Probably needs reversed OVERRIDES order also in bitbake.conf FILESPATH
>
> FILESPATH = "${@':'.join([os.path.normpath(os.path.join(fp, p, o)) for
> fp in d.getVar('FILESPATHBASE', 1).split(':') for p in
> d.getVar('FILESPATHPKG', 1).split(':') for o in (d.getVar('OVERRIDES',
> 1) + ':').split(':')])}"
>

Yes, you're right.  OVERRIDES in bitbake is used such that the *last*
defined overridden variable is used, but FILESPATH uses the *first* file it
finds.  Reversing it there should indeed fix it.  Nicely spotted, thanks.  I
have some errands to run, so won't have a chance to apply a fix until this
evening, so if someone else wants to get it in, feel free.
-- 
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