[meta-intel] [PATCH 4/4] intel-quark: add CFLAGS for kernel to no use lock prefix

Saul Wold sgw at linux.intel.com
Mon Aug 17 07:59:43 PDT 2015


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 <sgw at linux.intel.com>
---
 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



More information about the meta-intel mailing list