[meta-intel] [Patch v4 6/6] meta-intel BSPs: enable microcode loading support for images

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Fri Jul 18 17:18:27 PDT 2014


From: Nitin A Kamble <nitin.a.kamble at intel.com>

If the intel-microcode recipe is enabled by LICENSE_FLAGS_WHITELIST, then
1. Enable user space microcode loading support for all the BSPs using the
   meta-intel.inc file.
2. Use microcode enabled initrd for all the Intel BSPs

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 conf/machine/include/meta-intel.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc
index fb9b4a8..94bac99 100644
--- a/conf/machine/include/meta-intel.inc
+++ b/conf/machine/include/meta-intel.inc
@@ -24,3 +24,10 @@ XSERVER_X86_MATROX_MGA = "xf86-video-mga \
 
 XSERVER_X86_ASPEED_AST = "xf86-video-ast \
            "
+
+# if enabled, include user space intel microcode loading support in the generated images.
+MACHINE_EXTRA_RRECOMMENDS = "${@['', 'intel-microcode iucode-tool']['license_intel-microcode' in d.getVar('LICENSE_FLAGS_WHITELIST', True)]}"
+
+# if enabled, use the microcode added initrd
+INITRD_append = "${@['', '.ucode']['license_intel-microcode' in d.getVar('LICENSE_FLAGS_WHITELIST', True)]}"
+
-- 
1.8.1.4



More information about the meta-intel mailing list