remove True option to getVar calls

getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
This commit is contained in:
Joshua Lock
2016-11-25 15:28:52 +00:00
committed by Martin Jansa
parent 761639b9d7
commit efd3696e70
44 changed files with 78 additions and 78 deletions
+3 -3
View File
@@ -10,11 +10,11 @@ CXXFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
BREAKPAD_BIN ?= ""
python () {
breakpad_bin = d.getVar("BREAKPAD_BIN", True)
breakpad_bin = d.getVar("BREAKPAD_BIN")
if not breakpad_bin:
PN = d.getVar("PN", True)
FILE = os.path.basename(d.getVar("FILE", True))
PN = d.getVar("PN")
FILE = os.path.basename(d.getVar("FILE"))
bb.error("To build %s, see breakpad.bbclass for instructions on \
setting up your Breakpad configuration" % PN)
raise ValueError('BREAKPAD_BIN not defined in %s' % PN)