Bug 10830

Summary: new bitbake command 'bitbake -e' only with variables
Product: [Build System, Metadata & Runtime] BitBake Reporter: Mariano Lopez <mariano.lopez>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Undecided CC: bluelightning, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mariano Lopez 2016-12-20 16:28:54 UTC
bitbake -e is a very useful tool for debugging and have a quick look at variables. This command has been abused and used to get bitbake variables for other process, as an example check get_bb_var in lib/oeqa/commands. So, it would be good just to get the variables without all the comments or functions. I don't know if this would speed up the bitbake when returning the variables, but at least the RE searching will be improved with less text.
Comment 1 Paul Eggleton 2016-12-22 02:39:00 UTC
Coincidentally I just filed a bug for something similar recently, so we might as well continue tracking it under that bug.

*** This bug has been marked as a duplicate of bug 10748 ***