mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
0c9057970b
This allows the build.sh script to be used to rebuild binaries based on existing configuration in addition to the initial case of preparing suitable build configuration. Signed-hostap: Jouni Malinen <j@w1.fi>
24 lines
376 B
Bash
Executable File
24 lines
376 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cd $(dirname $0)
|
|
|
|
cd ../../wpa_supplicant
|
|
if [ ! -e .config ]; then
|
|
cp ../tests/hwsim/example-wpa_supplicant.config .config
|
|
fi
|
|
make clean
|
|
make -j8
|
|
cd ../hostapd
|
|
if [ ! -e .config ]; then
|
|
cp ../tests/hwsim/example-hostapd.config .config
|
|
fi
|
|
make clean
|
|
make -j8 hostapd hlr_auc_gw
|
|
cd ../wlantest
|
|
make clean
|
|
make -j8
|
|
cd ../mac80211_hwsim/tools
|
|
make -j8
|