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

export LDFLAGS="$LDFLAGS -static"

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

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