diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2017-01-02 13:20:11 +0000 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2017-01-18 16:42:59 +0100 |
commit | 3ad29d11e7f9c08de8e782ef4264e2047acb42bb (patch) | |
tree | 19d446d5f07ba5563935867fedad39d3098fd242 /recipes-kernel | |
parent | e1f69daa805cb02ddd123ae2d4d48035cb5b41d0 (diff) | |
download | meta-raspberrypi-3ad29d11e7f9c08de8e782ef4264e2047acb42bb.tar.gz |
Remove True option to getVar calls
getVar() now defaults to expanding by default.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 98229d9..19ebefb 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
@@ -32,8 +32,8 @@ KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", | |||
32 | # Set programmatically some variables during recipe parsing | 32 | # Set programmatically some variables during recipe parsing |
33 | # See http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#anonymous-python-functions | 33 | # See http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#anonymous-python-functions |
34 | python __anonymous () { | 34 | python __anonymous () { |
35 | kerneltype = d.getVar('KERNEL_IMAGETYPE', True) | 35 | kerneltype = d.getVar('KERNEL_IMAGETYPE') |
36 | kerneldt = get_dts(d, d.getVar('LINUX_VERSION', True)) | 36 | kerneldt = get_dts(d, d.getVar('LINUX_VERSION')) |
37 | d.setVar("KERNEL_DEVICETREE", kerneldt) | 37 | d.setVar("KERNEL_DEVICETREE", kerneldt) |
38 | } | 38 | } |
39 | 39 | ||