Yocto macro viewing method
1. bitbake -c devpyshell bb file name
like:
bitbake -c devpyshell image
image : bb file name
Add to:
bitbake -e linux-extension | grep ^TOPDIR
linux-extension: is the bb file name
TOPDIR: The name of the macro to be viewed
2. A small window appears
Enter d.getVar('macro name')
You can see the macro