sdk.bbclass: Ignore -sdk suffix warnings for gcc-cross-sdk

This commit is contained in:
Richard Purdie 2009-01-16 15:40:49 +00:00
parent 7e0dfa2030
commit 98fa049ba0
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ python __anonymous () {
if not dep.endswith("-sdk"):
if autoextend:
depends = depends.replace(dep, dep + "-sdk")
elif pn == 'gcc-cross-sdk':
continue
else:
bb.note("%s has depends %s which doesn't end in -sdk?" % (pn, dep))
bb.data.setVar("DEPENDS", depends, d)