The padlock code is a subset of x86 hardware acceleration code. It uses
the cmov instruction which is invalid on Quark based hardware, so we
disable this code.

Signed-off-by: Saul Wold <[email protected]>
---
 conf/machine/include/intel-quark-common.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/conf/machine/include/intel-quark-common.inc 
b/conf/machine/include/intel-quark-common.inc
index e2d34d7..ac518be 100644
--- a/conf/machine/include/intel-quark-common.inc
+++ b/conf/machine/include/intel-quark-common.inc
@@ -1,7 +1,11 @@
 #
-# Common configuration for all MACHINES of the intel-corei7-64 type
+# Common configuration for all MACHINES of the intel-quark type
 #
 
 DEFAULTTUNE ?= "i586-nlp-32"
 require conf/machine/include/tune-i586-nlp.inc
 require conf/machine/include/x86-base.inc
+
+# gnutls padlock code uses CMOV instruction in assembly which
+# is not valid for Quark.
+EXTRA_OECONF_append_pn-gnutls_intel-quark = " --disable-padlock"
-- 
2.1.4

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

Reply via email to