Skip to contentSkip to conversation

BB_TASKDEPDATA usage fix

PATCH New Paul Eggleton 1 participant 2 messages Aug 19, 2014

lore
Share & tools
lore
#0 lore raw

cover BB_TASKDEPDATA usage fix

The following change since commit 47d1fc9f5c38f3d092937c47bd4c2f45adaa7fe6:

qemu: fix Darwin cross-compilation (2014-08-18 20:43:24 +0100)

is available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/autotools
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/autotools

Paul Eggleton (1):
classes/autotools: avoid error if recipe is first in task dependency
tree

 meta/classes/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 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.

---
 meta/classes/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/autotools.bbclass +1 -1
index c49f063..6b99bdd 100644
@@ -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>
Signature · 1 line
1.9.3