From 0f3d4b504d3bf14a78ed5c9f75c6971852b553a0 Mon Sep 17 00:00:00 2001 From: Amit Khatri Date: Tue, 1 Apr 2014 04:59:47 +0000 Subject: [PATCH] tests: Run make clean for hwsim_test before rebuilding it This makes sure that the build.sh script ends up rebuilding hwsim_test. Signed-off-by: Amit Khatri --- 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 ec0d2dc91..fb29d8d23 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 a65ff593e..d7d5f410d 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