mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
zlib: Clean up recipe and use BBCLASSEXTEND for native and sdk versions
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user