bitbake: BBhandler/data: Fix __inherit_cache duplication
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Dec 2012 00:02:50 +0000 (00:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Dec 2012 15:59:42 +0000 (15:59 +0000)
commit6a6b55bbac1df3e7bc0e1dbb83092c20d9343c84
treef5bbf56fa8fbe510f389030d0c47b11c8b6e85ea
parent0cde143b8da4471e806175af9f0645e8491f1a7b
bitbake: BBhandler/data: Fix __inherit_cache duplication

The inherits cache contains duplicate entries, some with the full patch, some
just starting classes/xxx. This is a waste of parse time and potentially
error prone. This patch fixes various pieces of code so the absolute paths are
always preferred and work correctly. The inherits_class function did not work
with full paths so the patch fixes this.

(Bitbake rev: f3a71e509af196391ec126d079cf1bd178e62ad5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/data.py
bitbake/lib/bb/parse/parse_py/BBHandler.py