summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2009-04-19 12:58:40 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-05-01 10:54:01 +0200
commit0c56042adc02fa460a2d6bc507a1e3f9bde326fc (patch)
tree3169124dd4a2a59abc4a1b0cb37c595325d32644
parentc520f72172814c202ee47c51a63a1b1dde7f22f2 (diff)
downloadlinux-next-0c56042adc02fa460a2d6bc507a1e3f9bde326fc.tar.gz
kbuild: clean Module.markers and modules.order for out-of-tree modules
Signed-off-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb38c8399261..b309fca4b944 100644
--- a/Makefile
+++ b/Makefile
@@ -1421,7 +1421,9 @@ $(clean-dirs):
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
clean: rm-dirs := $(MODVERDIR)
-clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
+clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers \
+ $(KBUILD_EXTMOD)/Module.markers \
+ $(KBUILD_EXTMOD)/modules.order
clean: $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)