Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
wpa_supplicant: update for new env
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jul 18, 2021
1 parent efd0474 commit 39e12c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extra/wpa_supplicant/build
Expand Up @@ -3,7 +3,7 @@
# The wpa_supplicant package is built statically using
# libnl-tiny which is a minimal version of libnl maintained
# by OpenWRT.
make CC="${CC:-cc}" ALL_LIBS=libnl-tiny.a -C libnl
make CC="$CC" ALL_LIBS=libnl-tiny.a -C libnl

# The CFLAGS must be set to link to the above locally built
# libnl-tiny library.
Expand All @@ -12,8 +12,8 @@ export CFLAGS="$CFLAGS -static -D_GNU_SOURCE -DLIBNL1_COMPAT"

cd wpa_supplicant

make LIBDIR=/usr/lib BINDIR=/usr/bin DRV_LIBS="$CFLAGS" CC="${CC:-cc}"
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
make V=1 LIBDIR=/usr/lib BINDIR=/usr/bin DRV_LIBS="$CFLAGS"
make LIBDIR=/usr/lib BINDIR=/usr/bin install

mkdir -p \
"$1/usr/share/man/man5" \
Expand Down

0 comments on commit 39e12c0

Please sign in to comment.