summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2009-04-19 16:58:40 (GMT)
committerSam Ravnborg <sam@ravnborg.org>2009-05-01 08:54:01 (GMT)
commit0c56042adc02fa460a2d6bc507a1e3f9bde326fc (patch)
tree3169124dd4a2a59abc4a1b0cb37c595325d32644 /Makefile
parentc520f72172814c202ee47c51a63a1b1dde7f22f2 (diff)
downloadlinux-0c56042adc02fa460a2d6bc507a1e3f9bde326fc.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb38c83..b309fca 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)