1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

beaglebone.inc: Update use of obsolete bitbake API

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>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Gary Thomas
2017-03-02 14:33:35 +00:00
committed by Denys Dmytriyenko
parent bea5fc9c09
commit 9988ee2231

View File

@@ -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: