Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions recipes/bsp/intel/microcode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
metaEnvironment:
PKG_DESCRIPTION: "Intel Processor Microcode Package for Linux"
PKG_LICENSE_FILE: "license"
PKG_VERSION: "20250211"

checkoutSCM:
scm: url
url: ${GITHUB_MIRROR}/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-20250211.tar.gz
digestSHA256: 1da88b51953c9da2e20b5c94b3d7270cf87ea5babcaa56e3d6a5c9eaf11694b3
stripComponents: 1

buildScript: |
ln -snf $1/intel-ucode .

packageScript: |
rsync -a --delete $1/intel-ucode/ .
23 changes: 23 additions & 0 deletions recipes/utils/iucode-tool.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
inherit: [autotools]

metaEnvironment:
PKG_DESCRIPTION: "Manipulates Intel processor microcode bundles"
PKG_LICENSE: "GPLv2"
PKG_VERSION: "2.3.1"

checkoutSCM:
scm: url
url: https://gitlab.com/iucode-tool/releases/-/raw/master/iucode-tool_${PKG_VERSION}.tar.xz
digestSHA256: 12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95
stripComponents: 1

buildScript: |
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
autotoolsBuild $1

packageScript: |
autotoolsPackageBin

provideTools:
iucode-tool: "usr/sbin"
2 changes: 2 additions & 0 deletions tests/buildall/recipes/buildall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ multiPackage:

- all
- bsp::grub2
- bsp::intel::microcode
- utils::iucode-tool # uses cpuid which is not available on !x86

buildScript: |
/bin/true
Expand Down