diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | 3c59b1bf93adb0b9f723bda1d8702c8720733677 (patch) | |
tree | d1939643e2d02f0ce2e9ef33e235cd23cd5000d3 /meta/classes/externalsrc.bbclass | |
parent | c0f2890c01882e9ea14e781c044f3a84f75bd0fc (diff) | |
download | poky-3c59b1bf93adb0b9f723bda1d8702c8720733677.tar.gz |
meta: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
(From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r-- | meta/classes/externalsrc.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 5ba6c3472b..e115a474b8 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -69,7 +69,7 @@ python () { | |||
69 | # Dummy value because the default function can't be called with blank SRC_URI | 69 | # Dummy value because the default function can't be called with blank SRC_URI |
70 | d.setVar('SRCPV', '999') | 70 | d.setVar('SRCPV', '999') |
71 | 71 | ||
72 | tasks = filter(lambda k: d.getVarFlag(k, "task", True), d.keys()) | 72 | tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) |
73 | 73 | ||
74 | for task in tasks: | 74 | for task in tasks: |
75 | if task.endswith("_setscene"): | 75 | if task.endswith("_setscene"): |