The kernel needs to have the EXTRA_CFLAGS based via a variable as
it does not pick up the CLFAGS from the tune file.  Quark based
kernel should not use the lock prefix.

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

diff --git a/conf/machine/intel-quark.conf b/conf/machine/intel-quark.conf
index e5df941..7da054e 100644
--- a/conf/machine/intel-quark.conf
+++ b/conf/machine/intel-quark.conf
@@ -22,3 +22,6 @@ SERIAL_CONSOLE = "115200 ttyS1"
 APPEND += "console=ttyS1,115200 console=tty0"
 
 EFI_PROVIDER = "gummiboot"
+
+# Ensure that the Lock prefix is omitted for the kernel"
+KERNEL_EXTRA_ARGS = "EXTRA_CFLAGS=-Wa,-momit-lock-prefix=yes"
-- 
2.1.0

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

Reply via email to