summaryrefslogtreecommitdiff
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:25:03 +0100
commit945c98969bcfe5516b89ac6dfbe4552fb5d68a48 (patch)
tree15ae72133cae301b867fd3748f998701a4100da6 /meta/classes/autotools.bbclass
parent6328e7dcd93714ae81fe6d9d5dc92a1efb07fe39 (diff)
downloadopenembedded-core-945c98969bcfe5516b89ac6dfbe4552fb5d68a48.tar.gz
openembedded-core-945c98969bcfe5516b89ac6dfbe4552fb5d68a48.tar.bz2
openembedded-core-945c98969bcfe5516b89ac6dfbe4552fb5d68a48.zip
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. 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>