initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
config BR2_PACKAGE_INTEL_MICROCODE
bool "intel-microcode"
depends on BR2_x86_64 || BR2_i386
help
This package provides an Intel microcode data file that can be
used to correct processor errors. The iucode-tool package and
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.
@@ -0,0 +1,3 @@
# Locally computed
sha256 fd85b6b769efd029dec6a2c07106fd18fb4dcb548b7bc4cde09295a8344ef6d7 intel-microcode-20210608.tar.gz
sha256 03efb1491c7e899feb2665fa299363e64035e5444c1b8bc1f6ebed30de964e12 license
@@ -0,0 +1,35 @@
################################################################################
#
# intel-microcode
#
################################################################################
INTEL_MICROCODE_VERSION = 20210608
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))