Set COMPATIBLE_HOST to restrict building only for x86 archs.

The configure script clearly requires x86 archs. Message is as below.

  Only x86 and x86-64 are supported

Signed-off-by: Chen Qi <[email protected]>
---
 recipes-support/spice/spice_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-support/spice/spice_git.bb 
b/recipes-support/spice/spice_git.bb
index 6f1be3a..e62f315 100644
--- a/recipes-support/spice/spice_git.bb
+++ b/recipes-support/spice/spice_git.bb
@@ -70,3 +70,5 @@ do_install_append() {
        oe_runmake DESTDIR="${D}" install
        cd -
 }
+
+COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
-- 
2.11.0

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to