diff options
author | Cem Keylan <cem@ckyln.com> | 2022-04-28 01:34:37 +0200 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-04-28 01:34:45 +0200 |
commit | cfaca42028bc5284674a625a5017ad60b91546b4 (patch) | |
tree | 7afa78897ee00ad6672bf90f10a236060d61c733 /extra/efivar/build | |
parent | b8fcba87f544eb81b79f6a10706decb0eaff84eb (diff) | |
download | repository-cfaca42028bc5284674a625a5017ad60b91546b4.tar.gz |
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.
Diffstat (limited to 'extra/efivar/build')
-rwxr-xr-x | extra/efivar/build | 10 |
1 files changed, 5 insertions, 5 deletions
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 <sys\/cdefs.h>/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" |