This repository contains scripts for building statically linked iw and wpa_supplicant tools for Linux, which probably work on any Linux/Android distribution/version.
- Alpine Linux edge armhf (running on Android under Linux Deploy)
- Alpine Linux edge aarch64 (running on Android under Linux Deploy)
apk add build-base bison flex gawk linux-headers pkgconf readline-static perl
make iw
wpa_supplicant_build_config
file contains minimal wpa_supplicant build configuration with built-in cryptographic engine (does not depend on OpenSSL). Edit this file according to your needs, then run:
make wpa_supplicant
Note: if you want to use OpenSSL, firstly build it with make openssl
then add to the wpa_supplicant config following (change the path to prefix directory):
CFLAGS += -I/the/absolute/path/to/the/prefix/include
LIBS += -lcrypto -lssl
make