From cfaca42028bc5284674a625a5017ad60b91546b4 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 28 Apr 2022 01:34:37 +0200 Subject: efivar: bump to 38 The new patch can be hacky, and I didn't properly test the outcome. Should technically be working fine, but give me a heads up if it isn't working as expected. --- extra/efivar/build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extra/efivar/build') diff --git a/extra/efivar/build b/extra/efivar/build index 427316ac..2973fd4f 100755 --- a/extra/efivar/build +++ b/extra/efivar/build @@ -2,12 +2,9 @@ export LDFLAGS="$LDFLAGS -static" -for patch in *.patch; do - patch -p1 < "$patch" -done - mk() { make \ + TOPDIR=.. \ libdir=/usr/lib/ \ bindir=/usr/bin/ \ mandir=/usr/share/man/ \ @@ -17,9 +14,12 @@ mk() { ( cd src + clsed '/#include /d' compiler.h # Build static targets. - mk libefiboot.a libefivar.a efivar-static efiboot.pc efivar.pc + mk libefiboot.a libefivar.a efiboot.pc efivar.pc + patch -p2 < ../musl-compat.patch + mk efivar-static # Install the binary. clinst -Dm755 efivar-static "$1/usr/bin/efivar" -- cgit v1.2.3