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 <sgw@linux.intel.com>
This commit is contained in:
Saul Wold 2015-08-11 15:46:03 -07:00
parent cef3648754
commit adc8064908

View File

@ -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"