2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

wpa_supplicant: update for new env

This commit is contained in:
Dylan Araps 2021-07-18 06:30:32 +03:00
parent efd0474fae
commit 39e12c0af2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -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.
@ -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" \