From adc8064908409d29b9f6a7f0710be400769807af Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 11 Aug 2015 15:46:03 -0700 Subject: intel-quark: add CFLAGS for kernel to no use lock prefix 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 --- conf/machine/intel-quark.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/machine/intel-quark.conf b/conf/machine/intel-quark.conf index e5df9417..7da054ec 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" -- cgit v1.2.3-54-g00ecf