diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -796,8 +796,8 @@ prepare2: prepare3 outputmakefile | |||
796 | prepare1: prepare2 include/linux/version.h include/asm \ | 796 | prepare1: prepare2 include/linux/version.h include/asm \ |
797 | include/config/MARKER | 797 | include/config/MARKER |
798 | ifneq ($(KBUILD_MODULES),) | 798 | ifneq ($(KBUILD_MODULES),) |
799 | $(Q)rm -rf $(MODVERDIR) | ||
800 | $(Q)mkdir -p $(MODVERDIR) | 799 | $(Q)mkdir -p $(MODVERDIR) |
800 | $(Q)rm -f $(MODVERDIR)/* | ||
801 | endif | 801 | endif |
802 | 802 | ||
803 | archprepare: prepare1 scripts_basic | 803 | archprepare: prepare1 scripts_basic |
@@ -1086,8 +1086,8 @@ else # KBUILD_EXTMOD | |||
1086 | KBUILD_MODULES := 1 | 1086 | KBUILD_MODULES := 1 |
1087 | PHONY += crmodverdir | 1087 | PHONY += crmodverdir |
1088 | crmodverdir: | 1088 | crmodverdir: |
1089 | $(Q)rm -rf $(MODVERDIR) | ||
1090 | $(Q)mkdir -p $(MODVERDIR) | 1089 | $(Q)mkdir -p $(MODVERDIR) |
1090 | $(Q)rm -f $(MODVERDIR)/* | ||
1091 | 1091 | ||
1092 | PHONY += $(objtree)/Module.symvers | 1092 | PHONY += $(objtree)/Module.symvers |
1093 | $(objtree)/Module.symvers: | 1093 | $(objtree)/Module.symvers: |