]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: Run oe_import before other INHERITs
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Mar 2014 09:30:33 +0000 (09:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2014 09:39:37 +0000 (09:39 +0000)
commita9ecad713f37f2703e99c6b856207abeb6c5ad1f
tree7c873b2025ed193255562773a88278291858cfb1
parent760ae021fe1714d04c34bc00d472e2d756b3823a
base.bbclass: Run oe_import before other INHERITs

Its possible for classes listed in INHERIT directives to use things like
the oe.utils functions. If that happens the user sees a traceback since
the modules don't become available until the ConfigParsed event.

This change to use immediate expansion means that the oe modules become available
much sooner and can be used in the core classes, including within base.bbclass.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass