Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c34114f4acbc89a217148ebe166b2a68f973a7b9
Commit:     c34114f4acbc89a217148ebe166b2a68f973a7b9
Parent:     a83710e584b8ef46fc44472ec6f0c342003416e8
Author:     Mike Frysinger <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 19:45:34 2007 -0400
Committer:  Sam Ravnborg <[EMAIL PROTECTED](none)>
CommitDate: Fri Oct 12 21:15:30 2007 +0200

    kbuild: clean Modules.symvers in external module dirs
    
    At the moment, running `make clean` in an external module directory does a
    nice job of cleaning up with one exception: it leaves behind 
Modules.symvers.
    Attached patch adds this file to the clean list for external modules.
    
    Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 1274084..2738966 100644
--- a/Makefile
+++ b/Makefile
@@ -1255,8 +1255,10 @@ $(clean-dirs):
        $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
 
 clean: rm-dirs := $(MODVERDIR)
+clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
 clean: $(clean-dirs)
        $(call cmd,rmdirs)
+       $(call cmd,rmfiles)
        @find $(KBUILD_EXTMOD) $(RCS_FIND_IGNORE) \
                \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
                -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \) \
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to