aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2717223d8666..9cf07e7b9f88 100644
--- a/Makefile
+++ b/Makefile
@@ -792,6 +792,9 @@ export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
792 $(Q)$(MAKE) $(build)=$(@D) $@ 792 $(Q)$(MAKE) $(build)=$(@D) $@
793%.o: %.c scripts FORCE 793%.o: %.c scripts FORCE
794 $(Q)$(MAKE) $(build)=$(@D) $@ 794 $(Q)$(MAKE) $(build)=$(@D) $@
795%.ko: scripts FORCE
796 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) $(build)=$(@D) $(@:.ko=.o)
797 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.modpost
795%/: scripts prepare FORCE 798%/: scripts prepare FORCE
796 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) $(build)=$(@D) 799 $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) $(build)=$(@D)
797%.lst: %.c scripts FORCE 800%.lst: %.c scripts FORCE
@@ -1033,6 +1036,7 @@ help:
1033 @echo ' modules_install - Install all modules' 1036 @echo ' modules_install - Install all modules'
1034 @echo ' dir/ - Build all files in dir and below' 1037 @echo ' dir/ - Build all files in dir and below'
1035 @echo ' dir/file.[ois] - Build specified target only' 1038 @echo ' dir/file.[ois] - Build specified target only'
1039 @echo ' dir/file.ko - Build module including final link'
1036 @echo ' rpm - Build a kernel as an RPM package' 1040 @echo ' rpm - Build a kernel as an RPM package'
1037 @echo ' tags/TAGS - Generate tags file for editors' 1041 @echo ' tags/TAGS - Generate tags file for editors'
1038 @echo ' cscope - Generate cscope index' 1042 @echo ' cscope - Generate cscope index'