[PATCH] make clean mac80211_hwsim, before test cases building.

Amit Khatri amit.khatri at samsung.com
Tue Apr 1 00:59:47 EDT 2014


Hi,
Please find the below patch. 

From f8cfa91816078e4eaeddba2a6619b98c9d207b9f Mon Sep 17 00:00:00 2001
From: Amit Khatri <amit.khatri at samsung.com>
Date: Tue, 1 Apr 2014 09:51:38 +0530
Subject: [PATCH] make clean mac80211_hwsim, before test cases building.
 Signed-off-by: Amit Khatri <amit.khatri at samsung.com>

---
 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