[yocto] Calling python function from shell function

Vuille, Martin (Martin) vmartin at avaya.com
Sat Nov 7 09:27:57 PST 2015


In my custom .bbclass, I have a python function

python whatever () {
    ...
}

and I would like to call it from a shell function

do_something () {
    ...
    whatever
    ...
}

but bitbake gives me an error "whatever: not found" when building
recipes based on this class

Is what I am trying to do possible? Do I have the syntax wrong?

MV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151107/e140c0e2/attachment.html>


More information about the yocto mailing list