aboutsummaryrefslogtreecommitdiff
path: root/extra/efibootmgr/build
blob: e15840ede5cea77c23bdc72ce4ebbe8bc154662f (plain)
1
2
3
4
5
6
7
8
9
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"