mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/coreboot-tools: add -cbmem subpackage
This commit is contained in:
parent
1744af26d4
commit
fc9dbef583
@ -2,7 +2,7 @@
|
||||
# Maintainer: Adam Thiede <me@adamthiede.com>
|
||||
pkgname=coreboot-tools
|
||||
pkgver=24.08
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Tools from the coreboot project"
|
||||
url="https://review.coreboot.org/coreboot"
|
||||
# coreboot only runs on x86_64 and x86 systems
|
||||
@ -19,7 +19,7 @@ makedepends="
|
||||
yaml-cpp-dev
|
||||
zlib-dev
|
||||
"
|
||||
subpackages="$pkgname-intelmetool $pkgname-ectool $pkgname-nvramtool $pkgname-nvramtool-doc:nvramtool_doc:noarch $pkgname-ifdtool $pkgname-configurator"
|
||||
subpackages="$pkgname-intelmetool $pkgname-ectool $pkgname-nvramtool $pkgname-nvramtool-doc:nvramtool_doc:noarch $pkgname-ifdtool $pkgname-cbmem $pkgname-configurator"
|
||||
source="
|
||||
https://coreboot.org/releases/coreboot-$pkgver.tar.xz
|
||||
"
|
||||
@ -31,6 +31,7 @@ build() {
|
||||
make -e -C util/ectool
|
||||
make -e -C util/nvramtool CFLAGS="$CFLAGS -I. -DCMOS_HAL=1"
|
||||
make -e -C util/ifdtool
|
||||
make -e -C util/cbmem
|
||||
abuild-meson -Db_lto=true util/coreboot-configurator util/coreboot-configurator/output
|
||||
meson compile -C util/coreboot-configurator/output
|
||||
}
|
||||
@ -40,6 +41,7 @@ package() {
|
||||
make -e -C util/ectool PREFIX="$pkgdir/usr" install
|
||||
make -e -C util/nvramtool PREFIX="$pkgdir/usr" install
|
||||
make -e -C util/ifdtool PREFIX="$pkgdir/usr" install
|
||||
make -e -C util/cbmem PREFIX="$pkgdir/usr" install
|
||||
}
|
||||
|
||||
intelmetool() {
|
||||
@ -74,6 +76,12 @@ ifdtool() {
|
||||
amove usr/bin/ifdtool
|
||||
}
|
||||
|
||||
cbmem() {
|
||||
pkgdesc="CBMEM parser to read e.g. timestamps and console log"
|
||||
|
||||
amove usr/sbin/cbmem
|
||||
}
|
||||
|
||||
configurator() {
|
||||
pkgdesc="Graphical NVRAMtool frontend"
|
||||
DESTDIR="$subpkgdir" meson install --no-rebuild -C $builddir/util/coreboot-configurator/output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user