summaryrefslogtreecommitdiffstats
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 5f25bdd2c2..8f7cc1f2d3 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -121,7 +121,7 @@ python native_virtclass_handler () {
121 newdeps.append(dep + "-native") 121 newdeps.append(dep + "-native")
122 else: 122 else:
123 newdeps.append(dep) 123 newdeps.append(dep)
124 bb.data.setVar(varname, " ".join(newdeps), d) 124 d.setVar(varname, " ".join(newdeps))
125 125
126 map_dependencies("DEPENDS", e.data) 126 map_dependencies("DEPENDS", e.data)
127 for pkg in (e.data.getVar("PACKAGES", True).split() + [""]): 127 for pkg in (e.data.getVar("PACKAGES", True).split() + [""]):
@@ -139,7 +139,7 @@ python native_virtclass_handler () {
139 provides = provides.replace(prov, prov + "-native") 139 provides = provides.replace(prov, prov + "-native")
140 e.data.setVar("PROVIDES", provides) 140 e.data.setVar("PROVIDES", provides)
141 141
142 bb.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-native", e.data) 142 e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-native")
143} 143}
144 144
145addhandler native_virtclass_handler 145addhandler native_virtclass_handler