linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozancag@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: "Ozan Çağlayan" <ozancag@gmail.com>
Subject: [PATCH 01/13] compat-wireless: Clean up *.mod.c once after everything
Date: Thu,  9 Aug 2012 21:01:20 +0300	[thread overview]
Message-ID: <1344535292-4451-2-git-send-email-ozancag@gmail.com> (raw)
In-Reply-To: <1344535292-4451-1-git-send-email-ozancag@gmail.com>

Remove possible .mod.c leftovers at the end instead of after every
copying operation.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
---
 scripts/admin-update.sh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 73c3939..0b09708 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -412,7 +412,6 @@ for i in $NET_DIRS; do
 	cp $GIT_TREE/net/$i/*.[ch] net/$i/
 	cp $GIT_TREE/net/$i/Makefile net/$i/
 	cp $GIT_TREE/net/$i/Kconfig net/$i/
-	rm -f net/$i/*.mod.c
 done
 
 cp $GIT_TREE/MAINTAINERS ./
@@ -427,7 +426,6 @@ for i in $NET_BT_DIRS; do
 	echo "Copying $GIT_TREE/net/$i/*.[ch]"
 	cp $GIT_TREE/net/$i/*.[ch] net/$i/
 	cp $GIT_TREE/net/$i/Makefile net/$i/
-	rm -f net/$i/*.mod.c
 done
 
 # Drivers in their own directory
@@ -448,7 +446,6 @@ for i in $DRIVERS; do
 	if [ -f $GIT_TREE/$i/Kconfig ]; then
 		cp $GIT_TREE/$i/Kconfig $i/
 	fi
-	rm -f $i/*.mod.c
 done
 
 # Staging drivers in their own directory
@@ -462,7 +459,6 @@ for i in $STAGING_DRIVERS; do
 	echo -e "Copying ${RED}STAGING${NORMAL} $GIT_TREE/$i/*.[ch]"
 	# staging drivers tend to have their own subdirs...
 	cp -a $GIT_TREE/$i drivers/staging/
-	rm -f $i/*.mod.c
 done
 
 for i in $DRIVERS_BT; do
@@ -470,7 +466,6 @@ for i in $DRIVERS_BT; do
 	echo "Copying $GIT_TREE/$i/*.[ch]"
 	cp $GIT_TREE/$i/*.[ch] $i/
 	cp $GIT_TREE/$i/Makefile $i/
-	rm -f $i/*.mod.c
 done
 
 # For rndis_wlan, we need a new rndis_host.ko, cdc_ether.ko and usbnet.ko
@@ -515,7 +510,9 @@ cp -a $GIT_COMPAT_TREE/include/net/* include/net/
 cp -a $GIT_COMPAT_TREE/include/trace/* include/trace/
 cp -a $GIT_COMPAT_TREE/include/pcmcia/* include/pcmcia/
 cp -a $GIT_COMPAT_TREE/include/crypto/* include/crypto/
-rm -f $COMPAT/*.mod.c
+
+# Clean up possible *.mod.c leftovers
+find -type f -name "*.mod.c" -exec rm -f {} \;
 
 # files we suck in for wireless drivers
 export WSTABLE="
-- 
1.7.11.2


  reply	other threads:[~2012-08-09 18:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09 18:01 [PATCH 00/13] Merge GSoC DRM changes to admin-update.sh Ozan Çağlayan
2012-08-09 18:01 ` Ozan Çağlayan [this message]
2012-08-09 18:01 ` [PATCH 02/13] compat-wireless: Isolate drivers into different groups Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 03/13] compat-wireless: List everything vertically without concatenating Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 04/13] compat-wireless: Add ability to enable/disable subsystems Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 05/13] compat-wireless: Add 2 convenience functions Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 06/13] compat-wireless: Conditionally build network drivers Ozan Çağlayan
2012-08-09 18:50   ` Hauke Mehrtens
2012-08-10 11:42     ` Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 08/13] compat-wireless: No need to search for patches Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 09/13] compat-wireless: Fix cmdline parameter's name Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 10/13] compat-wireless: Selectively apply patches Ozan Çağlayan
2012-08-09 19:00   ` Hauke Mehrtens
2012-08-10 11:44     ` Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 11/13] compat-wireless: Move refresh logic into the loop Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 12/13] compat-wireless: Fetch in DRM drivers Ozan Çağlayan
2012-08-09 18:01 ` [PATCH 13/13] compat-wireless: Add DRM patches Ozan Çağlayan
2012-08-09 18:29 ` [PATCH 00/13] Merge GSoC DRM changes to admin-update.sh Sedat Dilek
2012-08-09 18:36   ` Sedat Dilek
2012-08-09 18:43     ` Hauke Mehrtens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344535292-4451-2-git-send-email-ozancag@gmail.com \
    --to=ozancag@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).