summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-06 23:57:32 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-06 23:58:45 +0200
commitde474fc049b8ea9dc9e9756ca73b26d4be31aadf (patch)
treea148897b70727366096efec9a002931a21347b2f /pcr
parent98b60a86eb642db7beed4b4451235c5c62335c42 (diff)
downloadabslibre-de474fc049b8ea9dc9e9756ca73b26d4be31aadf.tar.gz
abslibre-de474fc049b8ea9dc9e9756ca73b26d4be31aadf.tar.bz2
abslibre-de474fc049b8ea9dc9e9756ca73b26d4be31aadf.zip
pcr: libreboot-utils: switch to make install
This makes sure that all the tools are installed. Some tools like cbfstool also have other tools like fmaptool that are really useful. fmaptool can be used to work with Chromebook images for instance. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libreboot-utils/PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD
index ca816f7b4..2da67582b 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=5
+pkgrel=6
_upstream_ver=20211122
pkgver=4.15.libreboot${_upstream_ver}
pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)"
@@ -74,7 +74,6 @@ build() {
# Build nvramtool.
make -C nvramtool
-
}
package() {
@@ -92,19 +91,15 @@ package() {
install -Dm755 bucts/bucts "${pkgdir}"/usr/bin/bucts
# Install ECtool.
- install -Dm755 ectool/ectool "${pkgdir}"/usr/bin/ectool
+ make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr
# Install superiotool.
- install -Dm755 superiotool/superiotool \
- "${pkgdir}"/usr/bin/superiotool
- install -m644 superiotool/superiotool.8 \
- "${pkgdir}"/usr/share/man/man8
+ make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr
fi
# Install cbfstool.
- install -Dm755 cbfstool/cbfstool "${pkgdir}"/usr/bin/cbfstool
+ make -C cbfstool install DESTDIR="${pkgdir}" PREFIX=/usr
# Install nvramtool.
- install -Dm755 nvramtool/nvramtool "${pkgdir}"/usr/bin/nvramtool
- install -m644 nvramtool/cli/nvramtool.8 "${pkgdir}"/usr/share/man/man8
+ make -C nvramtool install DESTDIR="${pkgdir}" PREFIX=/usr
}