repo/extra/efibootmgr/build
2019-10-08 11:20:08 +03:00

11 lines
219 B
Bash
Executable File

#!/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"