diff options
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1512,8 +1512,9 @@ quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) | |||
1512 | fi | 1512 | fi |
1513 | 1513 | ||
1514 | # Create temporary dir for module support files | 1514 | # Create temporary dir for module support files |
1515 | cmd_crmodverdir = $(Q)mkdir -p $(MODVERDIR); rm -f $(MODVERDIR)/* | 1515 | # clean it up only when building all modules |
1516 | 1516 | cmd_crmodverdir = $(Q)mkdir -p $(MODVERDIR) \ | |
1517 | $(if $(KBUILD_MODULES),; rm -f $(MODVERDIR)/*) | ||
1517 | 1518 | ||
1518 | a_flags = -Wp,-MD,$(depfile) $(KBUILD_AFLAGS) $(AFLAGS_KERNEL) \ | 1519 | a_flags = -Wp,-MD,$(depfile) $(KBUILD_AFLAGS) $(AFLAGS_KERNEL) \ |
1519 | $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \ | 1520 | $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \ |