From e64f378b93e6fed8f5e8a019e1c4a82bdad4fe0c Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Sun, 1 Jan 2017 22:21:20 +0000 Subject: Remove True option to getVar calls getVar() now defaults to expanding by default. Signed-off-by: Paul Barker Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes-extended/xen/xen.inc') diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 429a05a9..bc62a5a8 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -739,12 +739,12 @@ export STAGING_INCDIR export STAGING_LIBDIR # specify xen hypervisor to build/target -export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH', True), d)}" -export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH', True), d)}" +export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH'), d)}" +export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH'), d)}" python () { - if d.getVar('XEN_TARGET_ARCH', True) == 'INVALID': - raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH', True)) + if d.getVar('XEN_TARGET_ARCH') == 'INVALID': + raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH')) } # Yocto appends ${PN} to libexecdir by default and Xen appends 'xen' as well @@ -804,7 +804,7 @@ EXTRA_OEMAKE += "GIT=/bin/false" # check for XSM in package config to allow XSM_ENABLE to be set python () { - pkgconfig = d.getVar('PACKAGECONFIG', True) + pkgconfig = d.getVar('PACKAGECONFIG') if ('xsm') in pkgconfig.split(): d.setVar('XSM_ENABLED', '1') else: -- cgit v1.2.3-54-g00ecf