Commit fb3cbd2e authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: avoid stale modules in $(MODVERDIR) for external modules

To avoid stale modules located in $(MODVERDIR) aka .tmp_versions/
always delete the directory when building an external module.
Signed-off-by: Sam Ravnborg's avatarSam Ravnborg <>
parent 8999257c
......@@ -1126,6 +1126,7 @@ else # KBUILD_EXTMOD
.PHONY: crmodverdir
$(Q)rm -rf $(MODVERDIR)
$(Q)mkdir -p $(MODVERDIR)
.PHONY: $(objtree)/Module.symvers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment