Bug 2086 - Rewrite bbvars.py to use bitbake to find variables
Summary: Rewrite bbvars.py to use bitbake to find variables
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Amanda Brindle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-03-13 16:13 UTC by Darren Hart
Modified: 2017-12-05 18:04 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2012-03-13 16:13:06 UTC
Difficulty: Hard
Estimate: 3 Days
Submitter: dvhart

bbvars.py does a rather dumb regex search for things vaguely resembling variables, the bitbake parser knows how to do this properly. 

Example use of bbvars:


$ scripts/contrib/bbvars.py -d documentation/poky-ref-manual/poky-ref-manual.xml -t meta/conf/documentation.conf -m meta
Comment 1 Paul Eggleton 2017-06-08 06:31:18 UTC
These days you would use tinfoil to do this. Here's some introductory material:

https://wiki.yoctoproject.org/wiki/TipsAndTricks/Tinfoil
Comment 2 Paul Eggleton 2017-09-11 21:35:29 UTC
In the above example I believe the path to the XML file these days should be documentation/ref-manual/ref-variables.xml .