[bitbake-devel] when does ${XX} in variable names get expanded?

Lu, Lianhao lianhao.lu at intel.com
Thu Aug 4 09:19:13 UTC 2011


Hi guys,

For the following variable definition in bitbake,

VVV = "llu"
A_${VVV} = "VVV"
A_llu = "llu"

B = "${@bb.data.getVar('A_llu', d, True)}"
C := "${@bb.data.getVar('A_llu', d, True)}"

Why B is "VVV" and C is "llu" in final? I'm wondering when is the ${VVV} in the variable name of A_${VVV} expanded.

Best Regards,
-Lianhao Lu




More information about the bitbake-devel mailing list