aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 440a1331d883..ccbc8c0a863f 100644
--- a/Makefile
+++ b/Makefile
@@ -897,11 +897,11 @@ PHONY += headers_install
897headers_install: include/linux/version.h scripts_basic FORCE 897headers_install: include/linux/version.h scripts_basic FORCE
898 $(Q)$(MAKE) $(build)=scripts scripts/unifdef 898 $(Q)$(MAKE) $(build)=scripts scripts/unifdef
899 $(Q)rm -rf $(INSTALL_HDR_PATH)/include 899 $(Q)rm -rf $(INSTALL_HDR_PATH)/include
900 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include 900 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include
901 901
902PHONY += headers_check 902PHONY += headers_check
903headers_check: headers_install 903headers_check: headers_install
904 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1 904 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1
905 905
906# --------------------------------------------------------------------------- 906# ---------------------------------------------------------------------------
907# Modules 907# Modules
@@ -917,7 +917,7 @@ all: modules
917PHONY += modules 917PHONY += modules
918modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) 918modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
919 @echo ' Building modules, stage 2.'; 919 @echo ' Building modules, stage 2.';
920 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost 920 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
921 921
922 922
923# Target to prepare building external modules 923# Target to prepare building external modules
@@ -943,7 +943,7 @@ _modinst_:
943 rm -f $(MODLIB)/build ; \ 943 rm -f $(MODLIB)/build ; \
944 ln -s $(objtree) $(MODLIB)/build ; \ 944 ln -s $(objtree) $(MODLIB)/build ; \
945 fi 945 fi
946 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modinst 946 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
947 947
948# If System.map exists, run depmod. This deliberately does not have a 948# If System.map exists, run depmod. This deliberately does not have a
949# dependency on System.map since that would run the dependency tree on 949# dependency on System.map since that would run the dependency tree on
@@ -1156,7 +1156,7 @@ $(module-dirs): crmodverdir $(objtree)/Module.symvers
1156 1156
1157modules: $(module-dirs) 1157modules: $(module-dirs)
1158 @echo ' Building modules, stage 2.'; 1158 @echo ' Building modules, stage 2.';
1159 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost 1159 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1160 1160
1161PHONY += modules_install 1161PHONY += modules_install
1162modules_install: _emodinst_ _emodinst_post 1162modules_install: _emodinst_ _emodinst_post
@@ -1165,7 +1165,7 @@ install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
1165PHONY += _emodinst_ 1165PHONY += _emodinst_
1166_emodinst_: 1166_emodinst_:
1167 $(Q)mkdir -p $(MODLIB)/$(install-dir) 1167 $(Q)mkdir -p $(MODLIB)/$(install-dir)
1168 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modinst 1168 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
1169 1169
1170# Run depmod only is we have System.map and depmod is executable 1170# Run depmod only is we have System.map and depmod is executable
1171quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) 1171quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
@@ -1381,7 +1381,7 @@ endif
1381%.ko: prepare scripts FORCE 1381%.ko: prepare scripts FORCE
1382 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ 1382 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
1383 $(build)=$(build-dir) $(@:.ko=.o) 1383 $(build)=$(build-dir) $(@:.ko=.o)
1384 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost 1384 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1385 1385
1386# FIXME Should go into a make.lib or something 1386# FIXME Should go into a make.lib or something
1387# =========================================================================== 1387# ===========================================================================