diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-25 14:25:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-27 10:25:34 +0000 |
commit | 0a434ac10158e2011d41a1189e65e9474b1672be (patch) | |
tree | 6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/recipes-core/tasks | |
parent | 71fded5145454b144413057e11f78f718d947093 (diff) | |
download | poky-0a434ac10158e2011d41a1189e65e9474b1672be.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/tasks')
-rw-r--r-- | meta/recipes-core/tasks/task-core-sdk.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/tasks/task-core-sdk.bb b/meta/recipes-core/tasks/task-core-sdk.bb index a74de01b07..d940e39318 100644 --- a/meta/recipes-core/tasks/task-core-sdk.bb +++ b/meta/recipes-core/tasks/task-core-sdk.bb | |||
@@ -80,11 +80,11 @@ RDEPENDS_task-core-sdk = "\ | |||
80 | # rreclist.append('%s-dev' % name) | 80 | # rreclist.append('%s-dev' % name) |
81 | # | 81 | # |
82 | # oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or '' | 82 | # oldrrec = d.getVar('RRECOMMENDS_%s' % newpkg) or '' |
83 | # bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d) | 83 | # d.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist)) |
84 | # # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg))) | 84 | # # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, d.getVar('RRECOMMENDS_%s' % newpkg))) |
85 | # | 85 | # |
86 | # # bb.note('pkgs is %s' % pkgs) | 86 | # # bb.note('pkgs is %s' % pkgs) |
87 | # bb.data.setVar('PACKAGES', ' '.join(pkgs), d) | 87 | # d.setVar('PACKAGES', ' '.join(pkgs)) |
88 | #} | 88 | #} |
89 | # | 89 | # |
90 | #PACKAGES_DYNAMIC = "task-core-sdk-*" | 90 | #PACKAGES_DYNAMIC = "task-core-sdk-*" |