meta-intel/conf/machine/intel-quark.conf
Saul Wold adc8064908 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>
2015-08-19 07:39:30 -07:00

28 lines
744 B
Plaintext

#@TYPE: Machine
#@NAME: quark
#@DESCRIPTION: Machine configuration for Quark systems
require conf/machine/include/meta-intel.inc
require conf/machine/include/intel-quark-common.inc
require conf/machine/include/intel-common-pkgarch.inc
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "4.1%"
#Avoid pulling in GRUB
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = ""
MACHINE_FEATURES = "efi usb"
MACHINE_FEATURES += "intel-ucode"
MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware"
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"