[oe-commits] [openembedded-core] 16/16: base.bbclass: Add OE_EXTRA_IMPORTS

git at git.openembedded.org git at git.openembedded.org
Sat Jun 8 09:27:05 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e17308a96869bda941dbf98150e5eea1ed907d8d
Author: Chris Laplante <chris.laplante at agilent.com>
AuthorDate: Fri Jun 7 14:57:53 2019 -0400

    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).
    
    Signed-off-by: Chris Laplante <chris.laplante at agilent.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/base.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 25d5fff..90af8ba 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -10,7 +10,9 @@ inherit utility-tasks
 inherit metadata_scm
 inherit logging
 
-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 ?= ""
+
+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}"
 OE_IMPORTS[type] = "list"
 
 def oe_import(d):

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list