diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-02-24 13:16:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 20:38:26 +0100 |
commit | 9f33dde6e71b7b66db357b1bf289ae63e0db77d2 (patch) | |
tree | cd7c2725432bc7e331cd4bf153aed888d425944e /bitbake/lib/bb/build.py | |
parent | 88f4ba28bcc95b64940bd465793a3bb50abf0693 (diff) | |
download | poky-9f33dde6e71b7b66db357b1bf289ae63e0db77d2.tar.gz |
cooker: use BBHandler.inherit for INHERIT
Ideally we'd avoid direct BBHandler usage, but honestly, to say the whole
bb.parse abstraction is incredibly leaky is an understatement. If we try to
make handle() not reparse classes, things get ugly fairly quickly, as
inherit() calls handle() itself after adding the class to the inherit cache.
This change fixes it so we no longer risk reparsing a class if:
- it's listed in INHERIT multiple times
- it's listed in INHERIT and is 'inherit'ed from a class in INHERIT
(Bitbake rev: 057c3cddeb72584c6c3908bd702288cece9b66ea)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
0 files changed, 0 insertions, 0 deletions