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

cd wpa_supplicant

mk() {
    make \
        LIBDIR=/usr/lib \
        BINDIR=/usr/bin \
        LDFLAGS="$LDFLAGS -static" \
        "$@"
}

mk
mk DESTDIR="$1" install

clman -d "$1" ./doc/docbook/*.[0-9]
clsv  -d "$1" wpa_supplicant.run