summaryrefslogtreecommitdiffstats
path: root/meta/classes/nativesdk.bbclass
diff options
context:
space:
mode:
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 ca24efaa7c..e6204c02ba 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() + [""]):