9 echo "$0 [-c | --codecov] [-f | --force-config]"
15 while [ "$1" != "" ]; do
17 -c |
--codecov ) shift
18 echo "$0: use code coverage specified"
21 -f |
--force-config ) shift
23 echo "$0: force copy config specified"
29 echo "Building TNC testing tools"
31 make clean
> /dev
/null
34 echo "Building wlantest"
36 make clean
> /dev
/null
37 make QUIET
=1 -j8 > /dev
/null
39 echo "Building hs20-osu-client"
41 make clean
> /dev
/null
2>&1
42 make QUIET
=1 CONFIG_NO_BROWSER
=1
44 echo "Building hostapd"
46 if [ ! -e .config
-o $force_config -eq 1 ]; then
47 cp ..
/tests
/hwsim
/example-hostapd.config .config
50 if [ $use_lcov -eq 1 ]; then
51 if ! grep -q CONFIG_CODE_COVERAGE .config
; then
52 echo CONFIG_CODE_COVERAGE
=y
>> .config
54 echo "CONFIG_CODE_COVERAGE already exists in hostapd/.config. Ignore"
58 make clean
> /dev
/null
59 make QUIET
=1 -j8 hostapd hostapd_cli hlr_auc_gw
61 echo "Building wpa_supplicant"
63 if [ ! -e .config
-o $force_config -eq 1 ]; then
64 cp ..
/tests
/hwsim
/example-wpa_supplicant.config .config
67 if [ $use_lcov -eq 1 ]; then
68 if ! grep -q CONFIG_CODE_COVERAGE .config
; then
69 echo CONFIG_CODE_COVERAGE
=y
>> .config
71 echo "CONFIG_CODE_COVERAGE already exists in wpa_supplicant/.config. Ignore"
75 make clean
> /dev
/null
76 if [ -z $FIPSLD_CC ]; then