From: Paul Eggleton Date: Tue, 19 Aug 2014 16:37:41 +0000 (+0100) Subject: classes/autotools: avoid error if recipe is first in task dependency tree X-Git-Tag: 2015-4~1871 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=945c98969bcfe5516b89ac6dfbe4552fb5d68a48;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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 ->