summaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index df39ff60f1..cddc306514 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -450,7 +450,13 @@ fakeroot python do_populate_sdk_ext() {
450} 450}
451 451
452def get_ext_sdk_depends(d): 452def get_ext_sdk_depends(d):
453 return d.getVarFlag('do_rootfs', 'depends', True) + ' ' + d.getVarFlag('do_build', 'depends', True) 453 # Note: the deps varflag is a list not a string, so we need to specify expand=False
454 deps = d.getVarFlag('do_image_complete', 'deps', False)
455 pn = d.getVar('PN', True)
456 deplist = ['%s:%s' % (pn, dep) for dep in deps]
457 for task in ['do_image_complete', 'do_rootfs', 'do_build']:
458 deplist.extend((d.getVarFlag(task, 'depends', True) or '').split())
459 return ' '.join(deplist)
454 460
455python do_sdk_depends() { 461python do_sdk_depends() {
456 # We have to do this separately in its own task so we avoid recursing into 462 # We have to do this separately in its own task so we avoid recursing into