[oe] [recipe]variable shared
Sophie Bonnouvrier
sophie.bonnouvrier-ext at oneaccess-net.com
Wed Sep 12 08:29:53 UTC 2012
hello,
I would like to set a variable in a recipe and used it in another one.
but when I get the variable in the second recipe the value is none.
How can I shared variable ?
Sophie
recipe 1:
export XENO_DIR = "${@get_xenomai_dir(bb, d)} "
export XENO_PV = "${@get_xenomai_pv(bb, d)} "
recipe 2:
xeno_dir = bb.data.getVar('XENO_DIR',d,1)
xeno_pv = bb.data.getVar('XENO_PV',d,1)
More information about the Openembedded-devel
mailing list