diff mbox series

tests: build.sh: remove 'make clean' steps

Message ID 1602406863-Ic513dda4ee30ff4c130f4a11d6df40691f35377f@changeid
State Accepted
Headers show
Series tests: build.sh: remove 'make clean' steps | expand

Commit Message

Johannes Berg Oct. 11, 2020, 9:01 a.m. UTC
From: Johannes Berg <johannes.berg@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@intel.com>
---
 tests/hwsim/build.sh | 5 -----
 1 file changed, 5 deletions(-)

Comments

Jouni Malinen Oct. 11, 2020, 6:28 p.m. UTC | #1
On Sun, Oct 11, 2020 at 11:01:03AM +0200, Johannes Berg wrote:
> Since the build artifacts are now landing in distinct
> directories, we don't need to 'make clean' and save
> some rebuild time.

Thanks, applied.
diff mbox series

Patch

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