mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-17 02:49:03 +02:00
intel-microcode: use microcode filter for package
Commit cba66dfb7b
("intel-microcode: fix microcode loading on newer
kernels") effectively disabled microcode filtering for intel-microcode
package.
Add the missing filter parameter to iucode_tool command to install only
necessary files. Do not generate microcode bin file in compile step as
it is no longer needed.
Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
64bc878144
commit
c2d12c05cd
|
@ -31,12 +31,6 @@ inherit deploy
|
|||
UCODE_FILTER_PARAMETERS ?= ""
|
||||
|
||||
do_compile() {
|
||||
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
||||
${UCODE_FILTER_PARAMETERS} \
|
||||
--overwrite \
|
||||
--write-to=${WORKDIR}/microcode_${PV}.bin \
|
||||
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
|
||||
|
||||
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
||||
${UCODE_FILTER_PARAMETERS} \
|
||||
--overwrite \
|
||||
|
@ -47,6 +41,7 @@ do_compile() {
|
|||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/
|
||||
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
||||
${UCODE_FILTER_PARAMETERS} \
|
||||
--write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \
|
||||
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user