aboutsummaryrefslogtreecommitdiff
path: root/extra/efibootmgr/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/efibootmgr/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
Diffstat (limited to 'extra/efibootmgr/build')
-rwxr-xr-xextra/efibootmgr/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/efibootmgr/build b/extra/efibootmgr/build
new file mode 100755
index 00000000..e15840ed
--- /dev/null
+++ b/extra/efibootmgr/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+patch -p1 < efivar.patch
+
+make \
+ EXTRA_CFLAGS=-Os \
+ EFIDIR=/boot/EFI
+
+install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr"
+install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8"