summaryrefslogtreecommitdiff
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-03 17:31:17 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-03 17:31:17 +0000
commitc4a39f6417e7570ca3229943c7fcde49d72f6bf8 (patch)
treef9f6b6967c3d3e074b9213dcd81e17bf231b9065 /meta/classes/native.bbclass
parent64c7fa473413d998c2a99c79ef0de34ecc133aef (diff)
downloadopenembedded-core-c4a39f6417e7570ca3229943c7fcde49d72f6bf8.tar.gz
openembedded-core-c4a39f6417e7570ca3229943c7fcde49d72f6bf8.tar.bz2
openembedded-core-c4a39f6417e7570ca3229943c7fcde49d72f6bf8.tar.xz
openembedded-core-c4a39f6417e7570ca3229943c7fcde49d72f6bf8.zip
zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions
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 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")