summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-08-19 17:33:10 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-08-19 17:35:21 +0100
commite6d9a1eb062c4ba40c24da20c7186118f9f36a0b (patch)
tree1d983c5d996cf4bb91b86747eaf5c8879f377f83 /meta
parent53b217dae542fbb6e0b02f141bd1b7d068653366 (diff)
downloadopenembedded-core-contrib-e6d9a1eb062c4ba40c24da20c7186118f9f36a0b.tar.gz
openembedded-core-contrib-e6d9a1eb062c4ba40c24da20c7186118f9f36a0b.tar.bz2
openembedded-core-contrib-e6d9a1eb062c4ba40c24da20c7186118f9f36a0b.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>
Diffstat (limited to 'meta')
-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>