[PATCH] make clean mac80211_hwsim, before test cases building. Signed-off-by: Amit Khatri <amit.khatri at samsung.com>

Amit Khatri amit.khatriatsamsung.com
Mon Mar 31 21:21:38 PDT 2014


---
 mac80211_hwsim/tools/Makefile |    4 ++++
 tests/hwsim/build.sh          |    1 +
 2 files changed, 5 insertions(+)

diff --git a/mac80211_hwsim/tools/Makefile b/mac80211_hwsim/tools/Makefile
index ec0d2dc..fb29d8d 100644
--- a/mac80211_hwsim/tools/Makefile
+++ b/mac80211_hwsim/tools/Makefile
@@ -9,3 +9,7 @@ CFLAGS = -O2 -Wall -g
 endif
 
 hwsim_test: hwsim_test.o
+
+clean:
+	rm -rf *.o
+	rm -rf hwsim_test
diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh
index a65ff59..d7d5f41 100755
--- a/tests/hwsim/build.sh
+++ b/tests/hwsim/build.sh
@@ -20,4 +20,5 @@ cd ../wlantest
 make clean
 make -j8
 cd ../mac80211_hwsim/tools
+make clean
 make -j8
-- 
1.7.9.5





More information about the Hostap mailing list