diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-03 17:31:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-03 17:31:17 +0000 |
commit | c4a39f6417e7570ca3229943c7fcde49d72f6bf8 (patch) | |
tree | f9f6b6967c3d3e074b9213dcd81e17bf231b9065 /meta/classes | |
parent | 64c7fa473413d998c2a99c79ef0de34ecc133aef (diff) | |
download | poky-c4a39f6417e7570ca3229943c7fcde49d72f6bf8.tar.gz |
zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions
Diffstat (limited to 'meta/classes')
-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") |