aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 50bb50defe18..264f37b8b263 100644
--- a/Makefile
+++ b/Makefile
@@ -1505,15 +1505,16 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
1505# and we build for the host arch 1505# and we build for the host arch
1506quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) 1506quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
1507 cmd_depmod = \ 1507 cmd_depmod = \
1508 if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" = "$(ARCH)" ]; then \ 1508 if [ -r System.map -a -x $(DEPMOD) ]; then \
1509 $(DEPMOD) -ae -F System.map \ 1509 $(DEPMOD) -ae -F System.map \
1510 $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ 1510 $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \
1511 $(KERNELRELEASE); \ 1511 $(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) \