diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2019-06-07 14:57:53 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-08 16:01:41 +0100 |
commit | 070218c1c5d1055353dc7008569ef0ae058c806b (patch) | |
tree | ca679cedfcba74d0b53fc71cab9816a2ab0d1974 /meta/classes | |
parent | 13aa3bea40a177d34b50745427257bc6b513f084 (diff) | |
download | poky-070218c1c5d1055353dc7008569ef0ae058c806b.tar.gz |
base.bbclass: Add OE_EXTRA_IMPORTS
OE_IMPORTS is not intended to be touched by users, but there are cases
in which layers might want to make additional Python modules available
to Python functions. For example, Python modules defined in the layer
themselves (under meta-layer/lib).
(From OE-Core rev: 00fa8391365863fa7805ad61b2d1a8425b9ea040)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 25d5fff72e..90af8ba72b 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -10,7 +10,9 @@ inherit utility-tasks | |||
10 | inherit metadata_scm | 10 | inherit metadata_scm |
11 | inherit logging | 11 | inherit logging |
12 | 12 | ||
13 | OE_IMPORTS += "os sys time oe.path oe.utils oe.types oe.package oe.packagegroup oe.sstatesig oe.lsb oe.cachedpath oe.license" | 13 | OE_EXTRA_IMPORTS ?= "" |
14 | |||
15 | OE_IMPORTS += "os sys time oe.path oe.utils oe.types oe.package oe.packagegroup oe.sstatesig oe.lsb oe.cachedpath oe.license ${OE_EXTRA_IMPORTS}" | ||
14 | OE_IMPORTS[type] = "list" | 16 | OE_IMPORTS[type] = "list" |
15 | 17 | ||
16 | def oe_import(d): | 18 | def oe_import(d): |