diff options
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 764f5991a3fc..a445e1c8828e 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -818,17 +818,16 @@ a few targets. | |||
818 | When kbuild executes, the following steps are followed (roughly): | 818 | When kbuild executes, the following steps are followed (roughly): |
819 | 1) Configuration of the kernel => produce .config | 819 | 1) Configuration of the kernel => produce .config |
820 | 2) Store kernel version in include/linux/version.h | 820 | 2) Store kernel version in include/linux/version.h |
821 | 3) Symlink include/asm to include/asm-$(ARCH) | 821 | 3) Updating all other prerequisites to the target prepare: |
822 | 4) Updating all other prerequisites to the target prepare: | ||
823 | - Additional prerequisites are specified in arch/$(ARCH)/Makefile | 822 | - Additional prerequisites are specified in arch/$(ARCH)/Makefile |
824 | 5) Recursively descend down in all directories listed in | 823 | 4) Recursively descend down in all directories listed in |
825 | init-* core* drivers-* net-* libs-* and build all targets. | 824 | init-* core* drivers-* net-* libs-* and build all targets. |
826 | - The values of the above variables are expanded in arch/$(ARCH)/Makefile. | 825 | - The values of the above variables are expanded in arch/$(ARCH)/Makefile. |
827 | 6) All object files are then linked and the resulting file vmlinux is | 826 | 5) All object files are then linked and the resulting file vmlinux is |
828 | located at the root of the obj tree. | 827 | located at the root of the obj tree. |
829 | The very first objects linked are listed in head-y, assigned by | 828 | The very first objects linked are listed in head-y, assigned by |
830 | arch/$(ARCH)/Makefile. | 829 | arch/$(ARCH)/Makefile. |
831 | 7) Finally, the architecture-specific part does any required post processing | 830 | 6) Finally, the architecture-specific part does any required post processing |
832 | and builds the final bootimage. | 831 | and builds the final bootimage. |
833 | - This includes building boot records | 832 | - This includes building boot records |
834 | - Preparing initrd images and the like | 833 | - Preparing initrd images and the like |