Search Linux Wireless

[PATCH 1/3] compat-wireless: update clean scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Without this patch make fails after calling make clean because compat_*
files were deleted.

Delete all files generated by scripts/admin-update.sh in
scripts/admin-clean.sh and not in make clean

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 Makefile               |    2 --
 scripts/admin-clean.sh |   12 +++++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 1da7e87..e204112 100644
--- a/Makefile
+++ b/Makefile
@@ -337,8 +337,6 @@ clean:
 		$(MAKE) -C $(KLIB_BUILD) M=$(PWD) clean ;\
 	fi
 	@rm -f $(CREL_PRE)*
-	@rm -f code-metrics.txt
-	@rm -f compat_base_tree compat_base_tree_version compat_version
 unload:
 	@./scripts/unload.sh
 
diff --git a/scripts/admin-clean.sh b/scripts/admin-clean.sh
index ae5f188..86d5460 100755
--- a/scripts/admin-clean.sh
+++ b/scripts/admin-clean.sh
@@ -2,12 +2,14 @@
 if [ -d net ] ; then
 	make clean
 fi
-rm -rf net drivers include
+rm -rf net
 rm -rf drivers
 rm -rf include
-rm -f Module.symvers
-rm -f git-describe
+rm -rf compat
+rm -rf udev
 rm -f master-tag
-rm -f compat-git-release
-rm -f compat-release
+rm -f compat_base_tree
+rm -f compat_base_tree_version
+rm -f compat_version
+rm -f code-metrics.txt
 echo "Cleaned wireless-bt-compat-2.6"
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux