Remove True option to getVar calls

getVar() now defaults to expanding by default.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
This commit is contained in:
Paul Barker
2017-01-02 13:20:11 +00:00
committed by Andrei Gherzan
parent e1f69daa80
commit 3ad29d11e7
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@ inherit linux-kernel-base
def get_dts(d, ver=None):
import re
staging_dir = d.getVar("STAGING_KERNEL_BUILDDIR", True)
dts = d.getVar("KERNEL_DEVICETREE", True)
staging_dir = d.getVar("STAGING_KERNEL_BUILDDIR")
dts = d.getVar("KERNEL_DEVICETREE")
# d.getVar() might return 'None' as a normal string
# leading to 'is None' check isn't enough.