diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-08-19 17:33:10 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-08-19 17:35:21 +0100 |
commit | e6d9a1eb062c4ba40c24da20c7186118f9f36a0b (patch) | |
tree | 1d983c5d996cf4bb91b86747eaf5c8879f377f83 | |
parent | 53b217dae542fbb6e0b02f141bd1b7d068653366 (diff) | |
download | openembedded-core-contrib-e6d9a1eb062c4ba40c24da20c7186118f9f36a0b.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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-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 () { 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> |