summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes/breakpad.bbclass
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-11-25 15:28:52 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-12-02 09:16:17 +0100
commitefd3696e70a6603f1a45faa4a172433514f0a487 (patch)
treeb72751ba93b050391db05a8e1be7506836b6d515 /meta-oe/classes/breakpad.bbclass
parent761639b9d7681c81dd69eaf3a37c32791d6e97fd (diff)
downloadmeta-openembedded-efd3696e70a6603f1a45faa4a172433514f0a487.tar.gz
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>
Diffstat (limited to 'meta-oe/classes/breakpad.bbclass')
-rw-r--r--meta-oe/classes/breakpad.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/classes/breakpad.bbclass b/meta-oe/classes/breakpad.bbclass
index b3abf278d..36f11ff48 100644
--- a/meta-oe/classes/breakpad.bbclass
+++ b/meta-oe/classes/breakpad.bbclass
@@ -10,11 +10,11 @@ CXXFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
10BREAKPAD_BIN ?= "" 10BREAKPAD_BIN ?= ""
11 11
12python () { 12python () {
13 breakpad_bin = d.getVar("BREAKPAD_BIN", True) 13 breakpad_bin = d.getVar("BREAKPAD_BIN")
14 14
15 if not breakpad_bin: 15 if not breakpad_bin:
16 PN = d.getVar("PN", True) 16 PN = d.getVar("PN")
17 FILE = os.path.basename(d.getVar("FILE", True)) 17 FILE = os.path.basename(d.getVar("FILE"))
18 bb.error("To build %s, see breakpad.bbclass for instructions on \ 18 bb.error("To build %s, see breakpad.bbclass for instructions on \
19 setting up your Breakpad configuration" % PN) 19 setting up your Breakpad configuration" % PN)
20 raise ValueError('BREAKPAD_BIN not defined in %s' % PN) 20 raise ValueError('BREAKPAD_BIN not defined in %s' % PN)