mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
getVar/setVar cleanups
Complete the bb.data.getVar/setVar replacements with accesses directly to the data store object. (From OE-Core rev: 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -80,11 +80,11 @@ RDEPENDS_task-core-sdk = "\
|
||||
# rreclist.append('%s-dev' % name)
|
||||
#
|
||||
# oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or ''
|
||||
# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
|
||||
# d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist))
|
||||
# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg)))
|
||||
#
|
||||
# # bb.note('pkgs is %s' % pkgs)
|
||||
# bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
|
||||
# d.setVar('PACKAGES', ' '.join(pkgs))
|
||||
#}
|
||||
#
|
||||
#PACKAGES_DYNAMIC = "task-core-sdk-*"
|
||||
|
||||
Reference in New Issue
Block a user