diff options
author | Gary Thomas <gary@mlbassoc.com> | 2017-03-02 14:33:35 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-03-02 12:15:22 -0500 |
commit | 9988ee2231f35250ef6f98c628d3145cad8009be (patch) | |
tree | a714a6681b04c50ba6f734af4cef878494874fc6 /conf/machine | |
parent | bea5fc9c09f2349e78b50b1fde6c093fed88bf08 (diff) | |
download | meta-ti-9988ee2231f35250ef6f98c628d3145cad8009be.tar.gz |
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>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/beaglebone.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/include/beaglebone.inc b/conf/machine/include/beaglebone.inc index f76ad3d9..b10146d1 100644 --- a/conf/machine/include/beaglebone.inc +++ b/conf/machine/include/beaglebone.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | python () { | 1 | python () { |
2 | layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1) | 2 | layers = d.getVar("BBFILE_COLLECTIONS", True) |
3 | if not layers: | 3 | if not layers: |
4 | return | 4 | return |
5 | if "yoctobsp" in layers: | 5 | if "yoctobsp" in layers: |