summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/externalsrc.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index e372392801..234bd8dedd 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -37,6 +37,10 @@ python () {
37 d.setVar('B', '${WORKDIR}/${BPN}-${PV}/') 37 d.setVar('B', '${WORKDIR}/${BPN}-${PV}/')
38 d.setVar('SRC_URI', '') 38 d.setVar('SRC_URI', '')
39 39
40 if '{SRCPV}' in d.getVar('PV', False):
41 # Dummy value because the default function can't be called with blank SRC_URI
42 d.setVar('SRCPV', '999')
43
40 tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) 44 tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys())
41 45
42 for task in tasks: 46 for task in tasks: