update all scripts

This commit is contained in:
wt committed 2026-03-06 18:01:24 +07:00
1 parent c9bb397d65
commit d065fa6e04
26 files changed
+218 -33

No files matched your search

+9 -2
View File
@@ -11,11 +11,18 @@ build_wpa_supplicant() {
[ ! -d $build/openssl ] && openssl
pkgname=wpa_supplicant
pkgver=2.11
srcurl=https://w1.fi/releases/wpa_supplicant-2.11.tar.gz
srcurl=https://w1.fi/releases/${pkgname}-${pkgver}.tar.gz
print_info "** Building and installing iw"
[ -d $build/wpa_supplicant ] && return 0
[ ! -d $build/wpa_supplicant ] && mkdir $build/wpa_supplicant
mkdir -p $build/wpa_supplicant
cd $build/wpa_supplicant
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.gz ]; then
print_info "** Downloading $srcurl"
cd $root/downloads
wget $srcurl
check $? "download $srcurl"
cd -
fi
tar -xf $root/downloads/${pkgname}-${pkgver}.tar.gz
cd ${pkgname}-${pkgver}/wpa_supplicant
cp $root/board/${BOARD_NAME}/wpa_supplicant.config .config