mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-06 03:10:01 +00:00
openlmi-tools: Only build if the necessary python pieces are available
Since this isn't a python library it doesn't really belong to meta-python. But I couldn't figure out where else to move it to. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
@@ -21,3 +21,8 @@ do_compile_prepend() {
|
||||
do_install_prepend() {
|
||||
cd cli
|
||||
}
|
||||
|
||||
python() {
|
||||
if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||
raise bb.parse.SkipRecipe('Requires meta-python to be present.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user