mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
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:
committed by
Martin Jansa
parent
761639b9d7
commit
efd3696e70
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user