mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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:
@@ -17,10 +17,14 @@ define INTEL_MICROCODE_INSTALL_IMAGES_CMDS
|
||||
$(@D)/intel-ucode/*
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET),y)
|
||||
define INTEL_MICROCODE_INSTALL_TARGET_CMDS
|
||||
mkdir -p $(TARGET_DIR)/lib/firmware/intel-ucode
|
||||
$(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/intel-ucode \
|
||||
$(@D)/intel-ucode/*
|
||||
endef
|
||||
else
|
||||
INTEL_MICROCODE_INSTALL_TARGET = NO
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user