[oe] Use python in variable assigment of a recipe

Steffen Sledz sledz at dresearch-fe.de
Tue Feb 28 09:26:16 UTC 2012


According to the user manual it is possible to use python code in variable assignments by using ${@...}.

I like to use a function (subprocess.check_output) here which requires an import statement. Where do i have to place this import?

And another question. Is it possible to determine the path to the recipe itself from with it?

Thx,
Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058




More information about the Openembedded-devel mailing list