mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09: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 ?= ""
|
UCODE_FILTER_PARAMETERS ?= ""
|
||||||
|
|
||||||
do_compile() {
|
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 \
|
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
||||||
${UCODE_FILTER_PARAMETERS} \
|
${UCODE_FILTER_PARAMETERS} \
|
||||||
--overwrite \
|
--overwrite \
|
||||||
|
@ -47,6 +41,7 @@ do_compile() {
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/
|
install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/
|
||||||
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
|
||||||
|
${UCODE_FILTER_PARAMETERS} \
|
||||||
--write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \
|
--write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \
|
||||||
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
|
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user