[meta-ti] [PATCH] beaglebone.inc: Update use of obsolete bitbake API
Gary Thomas
gary at mlbassoc.com
Thu Mar 2 00:33:35 PST 2017
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 at 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
More information about the meta-ti
mailing list