summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
parentc520f72172814c202ee47c51a63a1b1dde7f22f2 (diff)
downloadop-kernel-dev-0c56042adc02fa460a2d6bc507a1e3f9bde326fc.zip
op-kernel-dev-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>
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)
OpenPOWER on IntegriCloud