All of lore.kernel.org
 help / color / mirror / Atom feed
* Use python in variable assigment of a recipe
@ 2012-02-28  9:26 Steffen Sledz
  2012-02-28  9:55 ` Paul Eggleton
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Sledz @ 2012-02-28  9:26 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-28 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28  9:26 Use python in variable assigment of a recipe Steffen Sledz
2012-02-28  9:55 ` Paul Eggleton
2012-02-28 12:11   ` Steffen Sledz
2012-02-28 13:28     ` Paul Eggleton
2012-02-28 13:33     ` Phil Blundell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.