diff options
Diffstat (limited to 'recipes-extended/xen/xen.inc')
| -rw-r--r-- | recipes-extended/xen/xen.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 0e4136aa..432bf4d4 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
| @@ -663,6 +663,11 @@ export STAGING_LIBDIR | |||
| 663 | export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH', True), d)}" | 663 | export XEN_TARGET_ARCH = "${@map_xen_arch(d.getVar('TARGET_ARCH', True), d)}" |
| 664 | export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH', True), d)}" | 664 | export XEN_COMPILE_ARCH = "${@map_xen_arch(d.getVar('BUILD_ARCH', True), d)}" |
| 665 | 665 | ||
| 666 | python () { | ||
| 667 | if d.getVar('XEN_TARGET_ARCH', True) == 'INVALID': | ||
| 668 | raise bb.parse.SkipPackage('Cannot map `%s` to a xen architecture' % d.getVar('TARGET_ARCH', True)) | ||
| 669 | } | ||
| 670 | |||
| 666 | # hardcoded as Linux, as the only compatible hosts are Linux. | 671 | # hardcoded as Linux, as the only compatible hosts are Linux. |
| 667 | export XEN_OS = "Linux" | 672 | export XEN_OS = "Linux" |
| 668 | 673 | ||
