[oe-commits] Paul Eggleton : classes/autotools: avoid error if recipe is first in task dependency tree
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 19 19:41:58 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 64466035e35bf2322a16cd612cff77d98dfc6d57
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=64466035e35bf2322a16cd612cff77d98dfc6d57
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Tue Aug 19 17:37:41 2014 +0100
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/autotools.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index c49f063..6b99bdd 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>
More information about the Openembedded-commits
mailing list