commit 654b67ebce4a756c5b5d72dc66ec5560bb877f15 parent 577f7b2a495c44e2d9e36d8e82fa68c09d95d51b Author: St John Karp <contact@stjo.hn> Date: Sun, 26 Jun 2022 10:59:40 -0400 nvramtool: Add package at coreboot version 4.17 Diffstat:
A | extra/nvramtool/build | | | 15 | +++++++++++++++ |
A | extra/nvramtool/checksums | | | 1 | + |
A | extra/nvramtool/sources | | | 1 | + |
A | extra/nvramtool/version | | | 1 | + |
4 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/extra/nvramtool/build b/extra/nvramtool/build @@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +cd util/nvramtool + +sed -e 's/^PREFIX = \/usr\/local/PREFIX = \/usr/' \ + -e 's/\$(INSTALL) -p/$(INSTALL)/' \ + Makefile > _ +mv -f _ Makefile + +# Fix build for musl systems. +sed 's/__GLIBC__/__linux__/' accessors/cmos-hw-unix.c > _ +mv -f _ accessors/cmos-hw-unix.c + +make +make install diff --git a/extra/nvramtool/checksums b/extra/nvramtool/checksums @@ -0,0 +1 @@ +95da11d1c6a450385101a68799258a398ce965f4e46cce6fe8d5ebd74e50c125 diff --git a/extra/nvramtool/sources b/extra/nvramtool/sources @@ -0,0 +1 @@ +https://coreboot.org/releases/coreboot-VERSION.tar.xz diff --git a/extra/nvramtool/version b/extra/nvramtool/version @@ -0,0 +1 @@ +4.17 1