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/classes/base.bbclass | |
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/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 72196d60a7..a95dfd9a08 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -360,12 +360,12 @@ python () { | |||
360 | d.setVarFlag('do_compile', 'umask', 022) | 360 | d.setVarFlag('do_compile', 'umask', 022) |
361 | deps = (d.getVarFlag('do_install', 'depends') or "").split() | 361 | deps = (d.getVarFlag('do_install', 'depends') or "").split() |
362 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 362 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
363 | bb.data.setVarFlag('do_install', 'depends', " ".join(deps),d) | 363 | d.setVarFlag('do_install', 'depends', " ".join(deps)) |
364 | d.setVarFlag('do_install', 'fakeroot', 1) | 364 | d.setVarFlag('do_install', 'fakeroot', 1) |
365 | d.setVarFlag('do_install', 'umask', 022) | 365 | d.setVarFlag('do_install', 'umask', 022) |
366 | deps = (d.getVarFlag('do_package', 'depends') or "").split() | 366 | deps = (d.getVarFlag('do_package', 'depends') or "").split() |
367 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | 367 | deps.append('virtual/fakeroot-native:do_populate_sysroot') |
368 | bb.data.setVarFlag('do_package', 'depends', " ".join(deps),d) | 368 | d.setVarFlag('do_package', 'depends', " ".join(deps)) |
369 | d.setVarFlag('do_package', 'fakeroot', 1) | 369 | d.setVarFlag('do_package', 'fakeroot', 1) |
370 | d.setVarFlag('do_package', 'umask', 022) | 370 | d.setVarFlag('do_package', 'umask', 022) |
371 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) | 371 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) |