From: Nitin A Kamble <[email protected]> As per request from Tom, allow disabling of the Intel microcode feature for meta-intel BSPs.
If one adds this line to local.conf while build a meta-intel BSP, the microcode feature will be disabled for the build target. DISABLE_INTEL_MICROCODE = "1" Signed-off-by: Nitin A Kamble <[email protected]> --- conf/machine/include/meta-intel.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index f43903e..e8134a7 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc @@ -20,10 +20,11 @@ XSERVER_X86_MATROX_MGA = "xf86-video-mga \ XSERVER_X86_ASPEED_AST = "xf86-video-ast \ " - +# if not disabled, # include the user space intel microcode loading support in the generated images. -MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = " intel-microcode iucode-tool" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@[' intel-microcode iucode-tool', ''][d.getVar('DISABLE_INTEL_MICROCODE', True) != '1']}" -# For the early boot time kernel microcode loading support, +# if not disabled, +# for the early boot time kernel microcode loading support, # merge the microcode data in the final initrd image. -INITRD_prepend = "${DEPLOY_DIR_IMAGE}/microcode.cpio " +INITRD_prepend = "${@['${DEPLOY_DIR_IMAGE}/microcode.cpio ', ''][d.getVar('DISABLE_INTEL_MICROCODE', True) != '1']}" -- 1.8.1.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
