diff options
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 9f6501f58..077ac9c8a 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") |