hostap/tests/hwsim/build.sh
Amit Khatri 0f3d4b504d tests: Run make clean for hwsim_test before rebuilding it
This makes sure that the build.sh script ends up rebuilding hwsim_test.

Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
2014-04-01 11:22:51 +03:00

24 lines
387 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 clean
make -j8