[meta-freescale] [PATCH] u-boot-qoriq: Fix python function for fsl-lsch2-32b arch
Fabio Berton
fabio.berton at ossystems.com.br
Fri Jan 13 11:43:27 PST 2017
Add missing argument in function getVar() to avoid error:
Exception: TypeError: getVar() missing 1 required positional argument: 'expand'
Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb b/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb
index 0b392754..56002146 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2016.09.bb
@@ -43,10 +43,10 @@ python () {
elif "fsl-lsch2-32b:" in arch:
if not "lib64" in ml:
raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
- sys_multilib = 'aarch64' + d.getVar('TARGET_VENDOR') + 'mllib64-linux'
+ sys_multilib = 'aarch64' + d.getVar('TARGET_VENDOR', False) + 'mllib64-linux'
d.setVar('DEPENDS_append', ' lib64-gcc-cross-aarch64 lib64-libgcc')
- d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/' + sys_multilib)
- d.setVar('TOOLCHAIN_OPTIONS_append', '/../lib64-' + d.getVar("MACHINE"))
+ d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE', False) + '/' + sys_multilib)
+ d.setVar('TOOLCHAIN_OPTIONS_append', '/../lib64-' + d.getVar("MACHINE", False))
d.setVar("WRAP_TARGET_PREFIX", sys_multilib + '-')
}
--
2.11.0
More information about the meta-freescale
mailing list