repo/extra/efibootmgr/build

12 lines
240 B
Plaintext
Raw Normal View History

#!/bin/sh -e
patch -p1 < efivar.patch
2019-10-08 02:20:08 -06:00
make \
2020-02-11 23:52:50 -07:00
CC="${CC:-cc}" \
2019-10-08 02:20:08 -06:00
EXTRA_CFLAGS=-Os \
EFIDIR=/boot/EFI
2019-10-08 02:20:08 -06:00
install -Dm0755 src/efibootmgr "$1/usr/bin/efibootmgr"
install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8"