hwsim tests: Add build script
This is easier than to copy/paste from the README. We may want to extend it later to change the .config for some common differences between systems (e.g., libnl/libbfd). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
a5d7da3fd3
commit
fdbc092389
1 changed files with 19 additions and 0 deletions
19
tests/hwsim/build.sh
Executable file
19
tests/hwsim/build.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
cd ../../wpa_supplicant
|
||||||
|
cp ../tests/hwsim/example-wpa_supplicant.config .config
|
||||||
|
make clean
|
||||||
|
make -j8
|
||||||
|
cd ../hostapd
|
||||||
|
cp ../tests/hwsim/example-hostapd.config .config
|
||||||
|
make clean
|
||||||
|
make -j8 hostapd hlr_auc_gw
|
||||||
|
cd ../wlantest
|
||||||
|
make clean
|
||||||
|
make -j8
|
||||||
|
cd ../mac80211_hwsim/tools
|
||||||
|
make -j8
|
Loading…
Reference in a new issue