From 0ee5da33bca3eaaf45856c31c403c5274bfa97b4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 29 May 2010 15:35:05 +0200 Subject: [PATCH] compat-wireless: update clean scripts 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 --- Makefile | 2 -- scripts/admin-clean.sh | 12 +++++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1da7e8763e1c..e2041123d2d8 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 ae5f188efce8..86d5460c247f 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" -- 2.30.2