![Peter Korsgaard](/assets/img/avatar_default.png)
Contains mitigations for the Special Register Buffer Data Sampling (CVE-2020-0543), Vector Register Sampling (CVE-2020-0548) and L1D Eviction Sampling (CVE-2020-0549) hardware vulnerabilities. For more details, see the advisories: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00320.html https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00329.html Adjust the license hash for a change of copyright year: -Copyright (c) 2018-2019 Intel Corporation. +Copyright (c) 2018-2020 Intel Corporation. And adjust the .hash file to use two spaces. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# intel-microcode
|
|
#
|
|
################################################################################
|
|
|
|
INTEL_MICROCODE_VERSION = 20200616
|
|
INTEL_MICROCODE_SITE = $(call github,intel,Intel-Linux-Processor-Microcode-Data-Files,microcode-$(INTEL_MICROCODE_VERSION))
|
|
INTEL_MICROCODE_LICENSE = PROPRIETARY
|
|
INTEL_MICROCODE_LICENSE_FILES = license
|
|
INTEL_MICROCODE_REDISTRIBUTE = NO
|
|
INTEL_MICROCODE_INSTALL_IMAGES = YES
|
|
|
|
define INTEL_MICROCODE_INSTALL_IMAGES_CMDS
|
|
mkdir -p $(BINARIES_DIR)/intel-ucode
|
|
$(INSTALL) -m 0644 -t $(BINARIES_DIR)/intel-ucode \
|
|
$(@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
|
|
|
|
define INTEL_MICROCODE_LINUX_CONFIG_FIXUPS
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE)
|
|
$(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|