]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Run make clean for hwsim_test before rebuilding it
authorAmit Khatri <amit.khatri@samsung.com>
Tue, 1 Apr 2014 04:59:47 +0000 (04:59 +0000)
committerJouni Malinen <j@w1.fi>
Tue, 1 Apr 2014 08:22:51 +0000 (11:22 +0300)
This makes sure that the build.sh script ends up rebuilding hwsim_test.

Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
mac80211_hwsim/tools/Makefile
tests/hwsim/build.sh

index ec0d2dc919858c972db7480d6bc9b0ba6d57c5cf..fb29d8d230122b99e4bbe4abc5d244bfa3462621 100644 (file)
@@ -9,3 +9,7 @@ CFLAGS = -O2 -Wall -g
 endif
 
 hwsim_test: hwsim_test.o
+
+clean:
+       rm -rf *.o
+       rm -rf hwsim_test
index a65ff593e0f2f735c9dff788844f6d42140e5648..d7d5f410dc61060740f723d125e1e4084ac53af8 100755 (executable)
@@ -20,4 +20,5 @@ cd ../wlantest
 make clean
 make -j8
 cd ../mac80211_hwsim/tools
+make clean
 make -j8