All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] beaglebone.inc: Update use of obsolete bitbake API
@ 2017-03-02  8:33 Gary Thomas
  2017-03-02 17:13 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2017-03-02  8:33 UTC (permalink / raw)
  To: meta-ti; +Cc: Gary Thomas

The bb.data.getVar() API has been deprecated & removed.  This change
follows that change and allows MACHINE=beaglebone to work again.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 conf/machine/include/beaglebone.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/include/beaglebone.inc b/conf/machine/include/beaglebone.inc
index f76ad3d..b10146d 100644
--- a/conf/machine/include/beaglebone.inc
+++ b/conf/machine/include/beaglebone.inc
@@ -1,5 +1,5 @@
 python () {
-    layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
+    layers = d.getVar("BBFILE_COLLECTIONS", True)
     if not layers:
         return
     if "yoctobsp" in layers:
-- 
2.7.4



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

end of thread, other threads:[~2017-03-02 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02  8:33 [PATCH] beaglebone.inc: Update use of obsolete bitbake API Gary Thomas
2017-03-02 17:13 ` Denys Dmytriyenko
2017-03-02 19:29   ` Christopher Larson
2017-03-02 20:39     ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.