diff options
Diffstat (limited to 'recipes-core/microcode')
| -rw-r--r-- | recipes-core/microcode/intel-microcode_20250812.bb (renamed from recipes-core/microcode/intel-microcode_20191115.bb) | 16 | ||||
| -rw-r--r-- | recipes-core/microcode/iucode-tool_2.3.1.bb | 6 |
2 files changed, 8 insertions, 14 deletions
diff --git a/recipes-core/microcode/intel-microcode_20191115.bb b/recipes-core/microcode/intel-microcode_20250812.bb index a4bc2b48..a719679f 100644 --- a/recipes-core/microcode/intel-microcode_20191115.bb +++ b/recipes-core/microcode/intel-microcode_20250812.bb | |||
| @@ -11,15 +11,14 @@ DESCRIPTION = "The microcode data file contains the latest microcode\ | |||
| 11 | if the file is placed in the /etc/firmware directory of the Linux system." | 11 | if the file is placed in the /etc/firmware directory of the Linux system." |
| 12 | 12 | ||
| 13 | LICENSE = "Intel-Microcode-License" | 13 | LICENSE = "Intel-Microcode-License" |
| 14 | LIC_FILES_CHKSUM = "file://license;md5=99b296eb12723fd1eeb52e24971eed84" | 14 | LIC_FILES_CHKSUM = "file://license;md5=d8405101ec6e90c1d84b082b0c40c721" |
| 15 | 15 | ||
| 16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https \ | 16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | SRCREV = "33b7b2f3817e362111cd91910026ab8907f21710" | 19 | SRCREV = "4ded52b4b0e1d60e83259cc88d1f5ad22f71a63e" |
| 20 | 20 | ||
| 21 | DEPENDS = "iucode-tool-native" | 21 | DEPENDS = "iucode-tool-native" |
| 22 | S = "${WORKDIR}/git" | ||
| 23 | 22 | ||
| 24 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | 23 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
| 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 24 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| @@ -34,12 +33,6 @@ do_compile() { | |||
| 34 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 33 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 35 | ${UCODE_FILTER_PARAMETERS} \ | 34 | ${UCODE_FILTER_PARAMETERS} \ |
| 36 | --overwrite \ | 35 | --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 \ | 36 | --write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \ |
| 44 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* | 37 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* |
| 45 | } | 38 | } |
| @@ -47,6 +40,7 @@ do_compile() { | |||
| 47 | do_install() { | 40 | do_install() { |
| 48 | install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/ | 41 | install -d ${D}${nonarch_base_libdir}/firmware/intel-ucode/ |
| 49 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ | 42 | ${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \ |
| 43 | ${UCODE_FILTER_PARAMETERS} \ | ||
| 50 | --write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \ | 44 | --write-firmware=${D}${nonarch_base_libdir}/firmware/intel-ucode \ |
| 51 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* | 45 | ${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/* |
| 52 | } | 46 | } |
| @@ -63,6 +57,6 @@ addtask deploy before do_build after do_compile | |||
| 63 | 57 | ||
| 64 | PACKAGES = "${PN}" | 58 | PACKAGES = "${PN}" |
| 65 | 59 | ||
| 66 | FILES_${PN} = "${nonarch_base_libdir}" | 60 | FILES:${PN} = "${nonarch_base_libdir}" |
| 67 | 61 | ||
| 68 | UPSTREAM_CHECK_GITTAGREGEX = "^microcode-(?P<pver>(\d+)[a-z]*)$" | 62 | UPSTREAM_CHECK_GITTAGREGEX = "^microcode-(?P<pver>(\d+)[a-z]*)$" |
diff --git a/recipes-core/microcode/iucode-tool_2.3.1.bb b/recipes-core/microcode/iucode-tool_2.3.1.bb index df74a8e9..19417b7c 100644 --- a/recipes-core/microcode/iucode-tool_2.3.1.bb +++ b/recipes-core/microcode/iucode-tool_2.3.1.bb | |||
| @@ -12,14 +12,14 @@ DESCRIPTION = "iucode_tool is a program to manipulate Intel i686 and X86-64\ | |||
| 12 | HOMEPAGE = "https://gitlab.com/iucode-tool/" | 12 | HOMEPAGE = "https://gitlab.com/iucode-tool/" |
| 13 | BUGTRACKER = "https://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=iucode-tool;repeatmerged=0" | 13 | BUGTRACKER = "https://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=normal;archive=0;src=iucode-tool;repeatmerged=0" |
| 14 | 14 | ||
| 15 | LICENSE = "GPLv2+" | 15 | LICENSE = "GPL-2.0-or-later" |
| 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
| 17 | file://iucode_tool.c;beginline=1;endline=15;md5=71eeab3190360ff0267101b570874756" | 17 | file://iucode_tool.c;beginline=1;endline=15;md5=71eeab3190360ff0267101b570874756" |
| 18 | 18 | ||
| 19 | DEPENDS_append_libc-musl = " argp-standalone" | 19 | DEPENDS:append:libc-musl = " argp-standalone" |
| 20 | 20 | ||
| 21 | SRC_URI = "https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_${PV}.tar.xz" | 21 | SRC_URI = "https://gitlab.com/iucode-tool/releases/raw/master/iucode-tool_${PV}.tar.xz" |
| 22 | SRC_URI_append_libc-musl = " file://0001-Makefile.am-Add-arg-parse-library-for-MUSL-support.patch" | 22 | SRC_URI:append:libc-musl = " file://0001-Makefile.am-Add-arg-parse-library-for-MUSL-support.patch" |
| 23 | 23 | ||
| 24 | SRC_URI[md5sum] = "63b33cc0ea1f8c73b443412abbf39d6f" | 24 | SRC_URI[md5sum] = "63b33cc0ea1f8c73b443412abbf39d6f" |
| 25 | SRC_URI[sha256sum] = "12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95" | 25 | SRC_URI[sha256sum] = "12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95" |
