summaryrefslogtreecommitdiffstats
path: root/meta/classes/externalsrc.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 23:45:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 23:39:00 +0000
commit7fa6eeba1c1e4667820c8543343083fad75cabee (patch)
tree1f1c38bf800d5b8aacf00586cb3ce5145109d4f5 /meta/classes/externalsrc.bbclass
parent252e64550a77b8e4a452d4f124bb8b378054d4de (diff)
downloadpoky-7fa6eeba1c1e4667820c8543343083fad75cabee.tar.gz
classes/lib: Add expand parameter to getVarFlag
This sets the scene for removing the default False for expansion from getVarFlag. This would later allow True to become the default. On the most part this is an automatic translation with: sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, True):g' -i `grep -ril getVar *` In this case, the default was False, but True was used since in most cases here expansion would be expected. (From OE-Core rev: 42a10788e89b07b14a150ced07113566cf99fcdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r--meta/classes/externalsrc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index be0fe55d5f..607861f023 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -51,7 +51,7 @@ python () {
51 # Dummy value because the default function can't be called with blank SRC_URI 51 # Dummy value because the default function can't be called with blank SRC_URI
52 d.setVar('SRCPV', '999') 52 d.setVar('SRCPV', '999')
53 53
54 tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) 54 tasks = filter(lambda k: d.getVarFlag(k, "task", True), d.keys())
55 55
56 for task in tasks: 56 for task in tasks:
57 if task.endswith("_setscene"): 57 if task.endswith("_setscene"):