package/intel-microcode: make target installation optional

For early microcode loading, there is no need to install the individual
microcode files to /lib/firmware - So make that optional.

Let the option default to y for backwards compatibility, and select it from
iucode-tool as the init script relies on the /lib/firmware files.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard
2019-05-21 00:17:12 +02:00
parent f26dc16ab4
commit a134aeb995
3 changed files with 14 additions and 0 deletions

View File

@@ -7,3 +7,12 @@ config BR2_PACKAGE_INTEL_MICROCODE
proper kernel support are required to upload the microcode.
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
config BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET
bool "install microcode files to /lib/firmware in target"
default y
depends on BR2_PACKAGE_INTEL_MICROCODE
help
Select this option to have the microcode files installed to
/lib/firmware/intel-ucode in the target root filesystem, in
addition to the images directory.