diff options
-rw-r--r-- | pcr/libreboot-utils/PKGBUILD | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD index f5a183b60..e3627126d 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=7 +pkgrel=8 _upstream_ver=20211122 pkgver=4.15.libreboot${_upstream_ver} pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)" @@ -69,6 +69,9 @@ build() { make -C superiotool fi + # Build bincfg. + make -C bincfg WERROR="" + # Build cbfstool. make -C cbfstool WERROR='' @@ -100,6 +103,24 @@ package() { make -C superiotool install DESTDIR="${pkgdir}" PREFIX=/usr fi + # Install bincfg. + install -Dm755 bincfg/bincfg "${pkgdir}"/usr/bin/bincfg + + install -d "${pkgdir}"/usr/share/bincfg + for _file in ddr3_unregistered_spd_128.spec \ + ddr3_unregistered_spd_256.spec \ + ddr4_registered_spd_512.spec \ + ddr4_unbuffered_spd_512.spec \ + gbe-82579LM.set \ + gbe-82579LM.spec \ + gbe-ich9m.set \ + gbe-ich9m.spec \ + ifd-x200.set \ + ifd-x200.spec \ + it8718f-ec.spec ; do + install -Dm644 bincfg/"${_file}" "${pkgdir}"/usr/share/bincfg/"${_file}" + done + # Install cbfstool. make -C cbfstool install DESTDIR="${pkgdir}" PREFIX=/usr |