[PATCH] tests: build.sh: remove 'make clean' steps

Johannes Berg johannes at sipsolutions.net
Sun Oct 11 05:01:03 EDT 2020


From: Johannes Berg <johannes.berg at intel.com>

Since the build artifacts are now landing in distinct
directories, we don't need to 'make clean' and save
some rebuild time.

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 tests/hwsim/build.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh
index 165d808fd4a4..d8a78d705ab3 100755
--- a/tests/hwsim/build.sh
+++ b/tests/hwsim/build.sh
@@ -28,17 +28,14 @@ done
 
 echo "Building TNC testing tools"
 cd tnc
-make clean > /dev/null
 make QUIET=1 -j8
 
 echo "Building wlantest"
 cd ../../../wlantest
-make clean > /dev/null
 make QUIET=1 -j8 > /dev/null
 
 echo "Building hs20-osu-client"
 cd ../hs20/client/
-make clean > /dev/null 2>&1
 make QUIET=1 CONFIG_NO_BROWSER=1
 
 echo "Building hostapd"
@@ -55,7 +52,6 @@ if [ $use_lcov -eq 1 ]; then
     fi
 fi
 
-make clean > /dev/null
 make QUIET=1 -j8 hostapd hostapd_cli hlr_auc_gw
 
 echo "Building wpa_supplicant"
@@ -72,7 +68,6 @@ if [ $use_lcov -eq 1 ]; then
     fi
 fi
 
-make clean > /dev/null
 if [ -z $FIPSLD_CC ]; then
 export FIPSLD_CC=gcc
 fi
-- 
2.26.2




More information about the Hostap mailing list