projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8999257
)
kbuild: avoid stale modules in $(MODVERDIR) for external modules
author
Sam Ravnborg
<sam@mars.ravnborg.org>
Sat, 28 Jan 2006 22:08:40 +0000
(23:08 +0100)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Sun, 19 Feb 2006 08:51:19 +0000
(09:51 +0100)
To avoid stale modules located in $(MODVERDIR) aka .tmp_versions/
always delete the directory when building an external module.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 1db819ef0daca3675e10eebf2c8d266516473d0c..fdb3dac3e70f8a2e57eca2f547e48c7c0a24e00a 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1126,6
+1126,7
@@
else # KBUILD_EXTMOD
KBUILD_MODULES := 1
.PHONY: crmodverdir
crmodverdir:
+ $(Q)rm -rf $(MODVERDIR)
$(Q)mkdir -p $(MODVERDIR)
.PHONY: $(objtree)/Module.symvers