There are patches pending which make expansion the default for getVar/getVarFlag. Once merged we should remove the expansion parameter from most of the users of getVar and getVarFlag. There are sed expressions in the git history which can be used as a template to do this.
Josh will work on it.
I have patches queued for this change using regex search/replace with the following regex: getVar ?\(( ?[^,()]*), True\) getVar($1) getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) getVarFlag($1)
OE-Core: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129268.html http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129269.html
These made if for M1: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c4e2c59088765d1f1de7ec57cde91980f887c2ff http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c0f2890c01882e9ea14e781c044f3a84f75bd0fc http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3c59b1bf93adb0b9f723bda1d8702c8720733677 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=97f83e911ebb2c9d1af5de55a94c994dced39d82