aboutsummaryrefslogtreecommitdiff
path: root/extra/efibootmgr/build
blob: 913c5c350c6687914996bfa6eecbe36e72cc6ad7 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

make CC="${CC:-cc}" EFIDIR=/boot/efi efibootmgr src/efibootmgr.8

clinst -Dm755 src/efibootmgr "$1/usr/bin/efibootmgr"
clman -d "$1" src/efibootmgr.8