summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-07 00:57:50 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-07 00:59:55 +0200
commitc9c928c960b5af6863b608e44b420017ade2cf00 (patch)
tree14e6bb12512022c9568f34cf18bc95560d31d6ca /pcr
parent0b49c28ca831dfca227718c3ff81fa3355fb2bc1 (diff)
downloadabslibre-c9c928c960b5af6863b608e44b420017ade2cf00.tar.gz
abslibre-c9c928c960b5af6863b608e44b420017ade2cf00.tar.bz2
abslibre-c9c928c960b5af6863b608e44b420017ade2cf00.zip
libreboot-utils: Add inteltool
This utility enables to dump the registers of various chips (CPU, chipset, etc) on Intel computers. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libreboot-utils/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD
index bdf9d5560..5482a7ef0 100644
--- a/pcr/libreboot-utils/PKGBUILD
+++ b/pcr/libreboot-utils/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
pkgname=libreboot-utils
-pkgrel=9
+pkgrel=10
_upstream_ver=20211122
pkgver=4.15.libreboot${_upstream_ver}
pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)"
@@ -39,6 +39,8 @@ prepare() {
sed 's#/sbin#/bin#' -i Makefile
cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/ectool/"
sed 's#/sbin#/bin#' -i Makefile
+ cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/inteltool/"
+ sed 's#/sbin#/bin#' -i Makefile
cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/nvramtool/"
sed 's#/sbin#/bin#' -i Makefile
cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/superiotool/"
@@ -67,6 +69,9 @@ build() {
# Build ECtool.
make -C ectool
+ # Build inteltool.
+ make -C inteltool
+
# Build superiotool.
make -C superiotool
fi
@@ -104,6 +109,9 @@ package() {
# Install ECtool.
make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr
+ # Install inteltool.
+ make -C inteltool install DESTDIR="${pkgdir}" PREFIX=/usr
+
# Install superiotool.
make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr
fi