]> code.ossystems Code Review - openembedded-core.git/commit
Access metadata vars as locals in python snippets
authorChris Larson <chris_larson@mentor.com>
Wed, 6 Oct 2010 02:35:23 +0000 (19:35 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:38 +0000 (14:46 +0000)
commit283b0a20c2a9bfa27966e10f40669cbe904b7080
treebf0946ca363c9f9a9d5b7217df0782e904b37c90
parentf3406dd28846f4782bec36cb0bd1f834e068147b
Access metadata vars as locals in python snippets

Example:
FOO = "bar"
BAR = "${@FOO + '/baz'}"

${BAR} == "bar/baz"

(Bitbake rev: 606fa1fd97cbd47a6a7ebdc7a2e6aa93a8f65cf5)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/data_smart.py