Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c56042a authored by Frédéric Brière's avatar Frédéric Brière Committed by Sam Ravnborg
Browse files

kbuild: clean Module.markers and modules.order for out-of-tree modules

parent c520f721
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)