diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-08-19 17:37:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:26:09 +0100 |
commit | 76070017cd5d882c9ed51eb292edfd7bb32cd2bf (patch) | |
tree | e8d295d7c876019d3ce4e1aad94659a81c26132f | |
parent | 6a6f50b7f1260e9c27c07d7784685c78dc4af33b (diff) | |
download | poky-76070017cd5d882c9ed51eb292edfd7bb32cd2bf.tar.gz |
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>
-rw-r--r-- | meta/classes/autotools.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index c49f0631ab..6b99bddd5d 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -148,7 +148,7 @@ python autotools_copy_aclocals () { | |||
148 | if data[1] == "do_configure" and data[0] == pn: | 148 | if data[1] == "do_configure" and data[0] == pn: |
149 | start = dep | 149 | start = dep |
150 | break | 150 | break |
151 | if not start: | 151 | if start is None: |
152 | bb.fatal("Couldn't find ourself in BB_TASKDEPDATA?") | 152 | bb.fatal("Couldn't find ourself in BB_TASKDEPDATA?") |
153 | 153 | ||
154 | # We need to find configure tasks which are either from <target> -> <target> | 154 | # We need to find configure tasks which are either from <target> -> <target> |