diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-25 22:29:37 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-25 22:29:37 +0200 |
commit | 45b7448e49796a158f6a417171e17dfaf88d2375 (patch) | |
tree | fb4beb759861d8bb6217957aae659bf8fdd39941 /pcr | |
parent | cc607dfabca1b6eb81bfd9bcc58fb05dbdb0caa6 (diff) |
libreboot-utils: Add ich9utils
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/libreboot-utils/PKGBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD index 54efd8e2b..77f3b3f69 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=1 +pkgrel=2 _upstream_ver=20220710 pkgver=4.15.libreboot${_upstream_ver} pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)" @@ -57,6 +57,10 @@ prepare() { } build() { + # Build ich9deblob, ich9gen, demefactory, ich9show, etc + cd "$srcdir/libreboot-${_upstream_ver}_src" + make -C ich9utils + # Get to the directory. cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/" @@ -106,12 +110,18 @@ build() { } package() { - # Get to the directory. - cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/" - # Set directories up. install -d "${pkgdir}"/usr/bin "${pkgdir}"/usr/share/man/man8 + # Install ich9deblob, ich9gen, demefactory, ich9show, etc + cd "$srcdir/libreboot-${_upstream_ver}_src/ich9utils" + for binary in ich9deblob ich9gen demefactory ich9show ; do + install -Dm755 "${binary}" "${pkgdir}"/usr/bin/"${binary}" + done + + # Get to the directory. + cd "$srcdir/libreboot-${_upstream_ver}_src/coreboot/default/util/" + # These tools uses port-mapped I/O which doesn't exist on armv7h, # so they fails to compile when including sys/io.h. So we also need # to skip their installation. |