diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2014-09-17 09:45:24 -0700 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-10-21 14:34:20 -0500 |
commit | c64ade471ab70860604db2ade19ec6cfe9504f50 (patch) | |
tree | 91b5aaf7f9fdb2ac0a7117129e7813e062bd160b /conf/machine | |
parent | c84683281930d1ddf0140f33b8f87bd9c29118b1 (diff) | |
download | meta-intel-c64ade471ab70860604db2ade19ec6cfe9504f50.tar.gz |
meta-intel: Add new intel-ucode MACHINE_FEATURE
With this change, Intel microcode support can be enabled or disabled
for any BSP by controlling the MACHINE_FEATURES variable.
Any BSP from the meta-intel layer can enable Intel microcode loading
support by adding the following line in the machine configuration.
MACHINE_FEATURES += "intel-ucode"
This change keeps the intel-microcode feature disabled by default; it
can however be enabled as an "opt-in" feature via the MACHINE_FEATURES
variable.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/meta-intel.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index 9acce846..a3e1972e 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc | |||
@@ -22,11 +22,11 @@ XSERVER_X86_ASPEED_AST = "xf86-video-ast \ | |||
22 | " | 22 | " |
23 | 23 | ||
24 | # include the user space intel microcode loading support in the generated images. | 24 | # include the user space intel microcode loading support in the generated images. |
25 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = " intel-microcode iucode-tool" | 25 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)}" |
26 | 26 | ||
27 | # For the early boot time kernel microcode loading support, | 27 | # for the early boot time kernel microcode loading support, |
28 | # merge the microcode data in the final initrd image. | 28 | # merge the microcode data in the final initrd image. |
29 | INITRD_prepend = "${DEPLOY_DIR_IMAGE}/microcode.cpio " | 29 | INITRD_prepend = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" |
30 | 30 | ||
31 | # Use the LTSI kernel for LSB images | 31 | # Use the LTSI kernel for LSB images |
32 | PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "3.10%" | 32 | PREFERRED_VERSION_linux-yocto_linuxstdbase ?= "3.10%" |