aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 9f6501f583..077ac9c8a3 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -105,6 +105,12 @@ python __anonymous () {
else:
autoextend = False
for dep in deps:
+ if dep.endswith("-cross"):
+ if autoextend:
+ depends = depends.replace(dep, dep.replace("-cross", "-native"))
+ else:
+ bb.note("%s has depends %s which ends in -cross?" % (pn, dep))
+
if not dep.endswith("-native"):
if autoextend:
depends = depends.replace(dep, dep + "-native")