aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 50bb50defe18..f4238b2739e8 100644
--- a/Makefile
+++ b/Makefile
@@ -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
1515cmd_crmodverdir = $(Q)mkdir -p $(MODVERDIR); rm -f $(MODVERDIR)/* 1515# clean it up only when building all modules
1516 1516cmd_crmodverdir = $(Q)mkdir -p $(MODVERDIR) \
1517 $(if $(KBUILD_MODULES),; rm -f $(MODVERDIR)/*)
1517 1518
1518a_flags = -Wp,-MD,$(depfile) $(KBUILD_AFLAGS) $(AFLAGS_KERNEL) \ 1519a_flags = -Wp,-MD,$(depfile) $(KBUILD_AFLAGS) $(AFLAGS_KERNEL) \
1519 $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \ 1520 $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \