Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] BB_TASKDEPDATA usage fix
@ 2014-08-19 16:37 Paul Eggleton
  2014-08-19 16:37 ` [PATCH 1/1] classes/autotools: avoid error if recipe is first in task dependency tree Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2014-08-19 16:37 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.9.3



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] classes/autotools: avoid error if recipe is first in task dependency tree
  2014-08-19 16:37 [PATCH 0/1] BB_TASKDEPDATA usage fix Paul Eggleton
@ 2014-08-19 16:37 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2014-08-19 16:37 UTC (permalink / raw)
  To: openembedded-core

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>
---
 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>
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-19 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 16:37 [PATCH 0/1] BB_TASKDEPDATA usage fix Paul Eggleton
2014-08-19 16:37 ` [PATCH 1/1] classes/autotools: avoid error if recipe is first in task dependency tree Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox