summaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-25 14:25:16 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-27 10:25:34 (GMT)
commit0a434ac10158e2011d41a1189e65e9474b1672be (patch)
tree6171516b25cb337343a6373e34aec0d061e4f5e8 /meta/classes/nativesdk.bbclass
parent71fded5145454b144413057e11f78f718d947093 (diff)
downloadpoky-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/nativesdk.bbclass')
-rw-r--r--meta/classes/nativesdk.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index ca24efa..e6204c0 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -15,7 +15,7 @@ python () {
15 sdkarchs = [] 15 sdkarchs = []
16 for arch in archs: 16 for arch in archs:
17 sdkarchs.append(arch + '-nativesdk') 17 sdkarchs.append(arch + '-nativesdk')
18 bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) 18 d.setVar('PACKAGE_ARCHS', " ".join(sdkarchs))
19} 19}
20 20
21STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}" 21STAGING_DIR_HOST = "${STAGING_DIR}/${MULTIMACH_HOST_SYS}"
@@ -66,7 +66,7 @@ python nativesdk_virtclass_handler () {
66 if not pn.endswith("-nativesdk"): 66 if not pn.endswith("-nativesdk"):
67 return 67 return
68 68
69 bb.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-nativesdk", e.data) 69 e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-nativesdk")
70} 70}
71 71
72python () { 72python () {
@@ -91,7 +91,7 @@ python () {
91 newdeps.append(dep.replace("-nativesdk", "") + "-nativesdk") 91 newdeps.append(dep.replace("-nativesdk", "") + "-nativesdk")
92 else: 92 else:
93 newdeps.append(dep) 93 newdeps.append(dep)
94 bb.data.setVar(varname, " ".join(newdeps), d) 94 d.setVar(varname, " ".join(newdeps))
95 95
96 map_dependencies("DEPENDS", d) 96 map_dependencies("DEPENDS", d)
97 #for pkg in (d.getVar("PACKAGES", True).split() + [""]): 97 #for pkg in (d.getVar("PACKAGES", True).split() + [""]):