diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/externalsrc.bbclass | 4 |
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 () { d.setVar('B', '${WORKDIR}/${BPN}-${PV}/') d.setVar('SRC_URI', '') + if '{SRCPV}' in d.getVar('PV', False): + # Dummy value because the default function can't be called with blank SRC_URI + d.setVar('SRCPV', '999') + tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys()) for task in tasks: |