build.sh 376 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. set -e
  3. cd $(dirname $0)
  4. cd ../../wpa_supplicant
  5. if [ ! -e .config ]; then
  6. cp ../tests/hwsim/example-wpa_supplicant.config .config
  7. fi
  8. make clean
  9. make -j8
  10. cd ../hostapd
  11. if [ ! -e .config ]; then
  12. cp ../tests/hwsim/example-hostapd.config .config
  13. fi
  14. make clean
  15. make -j8 hostapd hlr_auc_gw
  16. cd ../wlantest
  17. make clean
  18. make -j8
  19. cd ../mac80211_hwsim/tools
  20. make -j8