aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-08-19 17:37:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:26:09 +0100
commit76070017cd5d882c9ed51eb292edfd7bb32cd2bf (patch)
treee8d295d7c876019d3ce4e1aad94659a81c26132f /meta/classes/autotools.bbclass
parent6a6f50b7f1260e9c27c07d7784685c78dc4af33b (diff)
downloadopenembedded-core-contrib-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>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass2
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 () {
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>