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 9f6501f583..077ac9c8a3 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -105,6 +105,12 @@ python __anonymous () { | |||
105 | else: | 105 | else: |
106 | autoextend = False | 106 | autoextend = False |
107 | for dep in deps: | 107 | for dep in deps: |
108 | if dep.endswith("-cross"): | ||
109 | if autoextend: | ||
110 | depends = depends.replace(dep, dep.replace("-cross", "-native")) | ||
111 | else: | ||
112 | bb.note("%s has depends %s which ends in -cross?" % (pn, dep)) | ||
113 | |||
108 | if not dep.endswith("-native"): | 114 | if not dep.endswith("-native"): |
109 | if autoextend: | 115 | if autoextend: |
110 | depends = depends.replace(dep, dep + "-native") | 116 | depends = depends.replace(dep, dep + "-native") |