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

export LDFLAGS="$LDFLAGS -static"

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

install -Dm0755 src/efibootmgr   "$1/usr/bin/efibootmgr"
install -Dm0644 src/efibootmgr.8 "$1/usr/share/man/man8/efibootmgr.8"