diff options
Diffstat (limited to 'recipes-extended/xen/xen.inc')
-rw-r--r-- | recipes-extended/xen/xen.inc | 10 |
1 files changed, 5 insertions, 5 deletions
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 | |||
739 | export STAGING_LIBDIR | 739 | export STAGING_LIBDIR |
740 | 740 | ||
741 | # specify xen hypervisor to build/target | 741 | # specify xen hypervisor to build/target |
742 | export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH', True), d)}" | 742 | export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH'), d)}" |
743 | export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH', True), d)}" | 743 | export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH'), d)}" |
744 | 744 | ||
745 | python () { | 745 | python () { |
746 | if d.getVar('XEN_TARGET_ARCH', True) == 'INVALID': | 746 | if d.getVar('XEN_TARGET_ARCH') == 'INVALID': |
747 | raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH', True)) | 747 | raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH')) |
748 | } | 748 | } |
749 | 749 | ||
750 | # Yocto appends ${PN} to libexecdir by default and Xen appends 'xen' as well | 750 | # Yocto appends ${PN} to libexecdir by default and Xen appends 'xen' as well |
@@ -804,7 +804,7 @@ EXTRA_OEMAKE += "GIT=/bin/false" | |||
804 | 804 | ||
805 | # check for XSM in package config to allow XSM_ENABLE to be set | 805 | # check for XSM in package config to allow XSM_ENABLE to be set |
806 | python () { | 806 | python () { |
807 | pkgconfig = d.getVar('PACKAGECONFIG', True) | 807 | pkgconfig = d.getVar('PACKAGECONFIG') |
808 | if ('xsm') in pkgconfig.split(): | 808 | if ('xsm') in pkgconfig.split(): |
809 | d.setVar('XSM_ENABLED', '1') | 809 | d.setVar('XSM_ENABLED', '1') |
810 | else: | 810 | else: |