diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-11-20 23:18:23 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-11-21 00:09:20 +0800 |
commit | 6cf386fa948880eaaa60bbddb5245258771fac79 (patch) | |
tree | 6650cb7049e7920253e770f7e3dbaa83c6d9325b /recipes-core/microcode/intel-microcode_20201112.bb | |
parent | a693b4d6b9521ace1b96c6833693ab6e39737088 (diff) | |
download | meta-intel-6cf386fa948880eaaa60bbddb5245258771fac79.tar.gz |
intel-microcode: upgrade 20201112 -> 20201118
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20201118
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-core/microcode/intel-microcode_20201112.bb')
-rw-r--r-- | recipes-core/microcode/intel-microcode_20201112.bb | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/recipes-core/microcode/intel-microcode_20201112.bb b/recipes-core/microcode/intel-microcode_20201112.bb deleted file mode 100644 index 9cfe070a..00000000 --- a/recipes-core/microcode/intel-microcode_20201112.bb +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | SUMMARY = "Intel Processor Microcode Datafile for Linux" | ||
2 | HOMEPAGE = "http://www.intel.com/" | ||
3 | DESCRIPTION = "The microcode data file contains the latest microcode\ | ||
4 | definitions for all Intel processors. Intel releases microcode updates\ | ||
5 | to correct processor behavior as documented in the respective processor\ | ||
6 | specification updates. While the regular approach to getting this microcode\ | ||
7 | update is via a BIOS upgrade, Intel realizes that this can be an\ | ||
8 | administrative hassle. The Linux operating system and VMware ESX\ | ||
9 | products have a mechanism to update the microcode after booting.\ | ||
10 | For example, this file will be used by the operating system mechanism\ | ||
11 | if the file is placed in the /etc/firmware directory of the Linux system." | ||
12 | |||
13 | LICENSE = "Intel-Microcode-License" | ||
14 | LIC_FILES_CHKSUM = "file://license;md5=6b58767419df274d2409b294ddae17e6" | ||
15 | |||
16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \ | ||
17 | " | ||
18 | |||
19 | SRCREV = "3ecc697a16691847ca8031959d8d51c44f1ff841" | ||
20 | |||
21 | DEPENDS = "iucode-tool-native" | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||
25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
26 | |||
27 | inherit deploy | ||
28 | |||
29 | # Use any of the iucode_tool parameters to filter specific microcodes from the data file | ||
30 | # For further information, check the iucode-tool's manpage : http://manned.org/iucode-tool | ||
31 | UCODE_FILTER_PARAMETERS ?= "" | ||
32 | |||
33 | do_compile() { | ||
34 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | ||
35 | ${UCODE_FILTER_PARAMETERS} \ | ||
36 | --overwrite \ | ||
37 | --write-to=${WORKDIR}/microcode_${PV}.bin \ | ||
38 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* | ||
39 | |||
40 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | ||
41 | ${UCODE_FILTER_PARAMETERS} \ | ||
42 | --overwrite \ | ||
43 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ | ||
44 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* | ||
45 | } | ||
46 | |||
47 | do_install() { | ||
48 | install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/ | ||
49 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | ||
50 | --write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \ | ||
51 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* | ||
52 | } | ||
53 | |||
54 | do_deploy() { | ||
55 | install -d ${DEPLOYDIR} | ||
56 | install ${WORKDIR}/microcode_${PV}.cpio ${DEPLOYDIR}/ | ||
57 | cd ${DEPLOYDIR} | ||
58 | rm -f microcode.cpio | ||
59 | ln -sf microcode_${PV}.cpio microcode.cpio | ||
60 | } | ||
61 | |||
62 | addtask deploy before do_build after do_compile | ||
63 | |||
64 | PACKAGES = "${PN}" | ||
65 | |||
66 | FILES_${PN} = "${nonarch_base_libdir}" | ||
67 | |||
68 | UPSTREAM_CHECK_GITTAGREGEX = "^microcode-(?P<pver>(\d+)[a-z]*)$" | ||