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>
This commit is contained in:
Родитель
c520f72172
Коммит
0c56042adc
4
Makefile
4
Makefile
|
@ -1421,7 +1421,9 @@ $(clean-dirs):
|
||||||
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
|
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
|
||||||
|
|
||||||
clean: rm-dirs := $(MODVERDIR)
|
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)
|
clean: $(clean-dirs)
|
||||||
$(call cmd,rmdirs)
|
$(call cmd,rmdirs)
|
||||||
$(call cmd,rmfiles)
|
$(call cmd,rmfiles)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче