aboutsummaryrefslogtreecommitdiff
path: root/extra/efivar/build
blob: eb4038ac8e65017a39bb40b82aa72aa1f443d05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

patch -p1 < fix-gcc9-dp.h.patch
patch -p1 < fix-gcc9.patch

# Avoid repeating ourselves.
mk() {
    make \
        libdir=/usr/lib/ \
        bindir=/usr/bin/ \
        mandir=/usr/share/man/ \
        includedir=/usr/include/ \
        "$@"
}

mk
mk DESTDIR="$1" install