summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-07-27 19:32:06 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-07-27 23:42:09 +0200
commit6854b4415e44fdaa45c6267de2afaab04fb8cf02 (patch)
tree31de7f68f796ebca3dad64c41cff6942d7fb79fc
parent9044b433864d3049d11eeb057c0f26770440de23 (diff)
downloadabslibre-6854b4415e44fdaa45c6267de2afaab04fb8cf02.tar.gz
abslibre-6854b4415e44fdaa45c6267de2afaab04fb8cf02.tar.bz2
abslibre-6854b4415e44fdaa45c6267de2afaab04fb8cf02.zip
pcr: libreboot-utils: Add intelmetool
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-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 9c9865fe0..544b5907e 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=14
+pkgrel=15
_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/intelmetool/"
+ 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/"
@@ -69,6 +71,9 @@ build() {
# Build ECtool.
make -C ectool
+ # Build intelmetool.
+ make -C intelmetool
+
# Build inteltool.
make -C inteltool
@@ -117,6 +122,9 @@ package() {
# Install ECtool.
make -C ectool install PREFIX="${pkgdir}"/usr
+ # Install intelmetool.
+ make -C intelmetool install DESTDIR="${pkgdir}" PREFIX=/usr
+
# Install inteltool.
make -C inteltool install DESTDIR="${pkgdir}" PREFIX=/usr