classes/autotools: avoid error if recipe is first in task dependency tree

If the recipe being built is listed first in BB_TASKDEPDATA (i.e. item
0) this is still valid and should not trigger an error.

(From OE-Core rev: 945c98969bcfe5516b89ac6dfbe4552fb5d68a48)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2014-08-19 17:37:41 +01:00 committed by Richard Purdie
parent 6a6f50b7f1
commit 76070017cd
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ python autotools_copy_aclocals () {
if data[1] == "do_configure" and data[0] == pn:
start = dep
break
if not start:
if start is None:
bb.fatal("Couldn't find ourself in BB_TASKDEPDATA?")
# We need to find configure tasks which are either from <target> -> <target>