@@ -441,7 +441,7 @@ more details, with real examples.
441441 specified if first option are not supported.
442442
443443 Example:
444- #arch/i386 /kernel/Makefile
444+ #arch/x86 /kernel/Makefile
445445 vsyscall-flags += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
446446
447447 In the above example, vsyscall-flags will be assigned the option
@@ -460,7 +460,7 @@ more details, with real examples.
460460 supported to use an optional second option.
461461
462462 Example:
463- #arch/i386 /Makefile
463+ #arch/x86 /Makefile
464464 cflags-y += $(call cc-option,-march=pentium-mmx,-march=i586)
465465
466466 In the above example, cflags-y will be assigned the option
@@ -522,7 +522,7 @@ more details, with real examples.
522522 even though the option was accepted by gcc.
523523
524524 Example:
525- #arch/i386 /Makefile
525+ #arch/x86 /Makefile
526526 cflags-y += $(shell \
527527 if [ $(call cc-version) -ge 0300 ] ; then \
528528 echo "-mregparm=3"; fi ;)
@@ -802,7 +802,7 @@ but in the architecture makefiles where the kbuild infrastructure
802802is not sufficient this sometimes needs to be explicit.
803803
804804 Example:
805- #arch/i386 /boot/Makefile
805+ #arch/x86 /boot/Makefile
806806 subdir- := compressed/
807807
808808The above assignment instructs kbuild to descend down in the
@@ -812,12 +812,12 @@ To support the clean infrastructure in the Makefiles that builds the
812812final bootimage there is an optional target named archclean:
813813
814814 Example:
815- #arch/i386 /Makefile
815+ #arch/x86 /Makefile
816816 archclean:
817- $(Q)$(MAKE) $(clean)=arch/i386 /boot
817+ $(Q)$(MAKE) $(clean)=arch/x86 /boot
818818
819- When "make clean" is executed, make will descend down in arch/i386 /boot,
820- and clean as usual. The Makefile located in arch/i386 /boot/ may use
819+ When "make clean" is executed, make will descend down in arch/x86 /boot,
820+ and clean as usual. The Makefile located in arch/x86 /boot/ may use
821821the subdir- trick to descend further down.
822822
823823Note 1: arch/$(ARCH)/Makefile cannot use "subdir-", because that file is
@@ -882,7 +882,7 @@ When kbuild executes, the following steps are followed (roughly):
882882 LDFLAGS_vmlinux uses the LDFLAGS_$@ support.
883883
884884 Example:
885- #arch/i386 /Makefile
885+ #arch/x86 /Makefile
886886 LDFLAGS_vmlinux := -e stext
887887
888888 OBJCOPYFLAGS objcopy flags
@@ -920,14 +920,14 @@ When kbuild executes, the following steps are followed (roughly):
920920 Often, the KBUILD_CFLAGS variable depends on the configuration.
921921
922922 Example:
923- #arch/i386 /Makefile
923+ #arch/x86 /Makefile
924924 cflags-$(CONFIG_M386) += -march=i386
925925 KBUILD_CFLAGS += $(cflags-y)
926926
927927 Many arch Makefiles dynamically run the target C compiler to
928928 probe supported options:
929929
930- #arch/i386 /Makefile
930+ #arch/x86 /Makefile
931931
932932 ...
933933 cflags-$(CONFIG_MPENTIUMII) += $(call cc-option,\
@@ -1038,8 +1038,8 @@ When kbuild executes, the following steps are followed (roughly):
10381038 into the arch/$(ARCH)/boot/Makefile.
10391039
10401040 Example:
1041- #arch/i386 /Makefile
1042- boot := arch/i386 /boot
1041+ #arch/x86 /Makefile
1042+ boot := arch/x86 /boot
10431043 bzImage: vmlinux
10441044 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
10451045
@@ -1051,7 +1051,7 @@ When kbuild executes, the following steps are followed (roughly):
10511051 To support this, $(archhelp) must be defined.
10521052
10531053 Example:
1054- #arch/i386 /Makefile
1054+ #arch/x86 /Makefile
10551055 define archhelp
10561056 echo '* bzImage - Image (arch/$(ARCH)/boot/bzImage)'
10571057 endif
@@ -1065,7 +1065,7 @@ When kbuild executes, the following steps are followed (roughly):
10651065 from vmlinux.
10661066
10671067 Example:
1068- #arch/i386 /Makefile
1068+ #arch/x86 /Makefile
10691069 all: bzImage
10701070
10711071 When "make" is executed without arguments, bzImage will be built.
@@ -1083,7 +1083,7 @@ When kbuild executes, the following steps are followed (roughly):
10831083 2) kbuild knows what files to delete during "make clean"
10841084
10851085 Example:
1086- #arch/i386 /kernel/Makefile
1086+ #arch/x86 /kernel/Makefile
10871087 extra-y := head.o init_task.o
10881088
10891089 In this example, extra-y is used to list object files that
@@ -1133,7 +1133,7 @@ When kbuild executes, the following steps are followed (roughly):
11331133 Compress target. Use maximum compression to compress target.
11341134
11351135 Example:
1136- #arch/i386 /boot/Makefile
1136+ #arch/x86 /boot/Makefile
11371137 LDFLAGS_bootsect := -Ttext 0x0 -s --oformat binary
11381138 LDFLAGS_setup := -Ttext 0x0 -s --oformat binary -e begtext
11391139
@@ -1193,7 +1193,7 @@ When kbuild executes, the following steps are followed (roughly):
11931193
11941194 When updating the $(obj)/bzImage target, the line
11951195
1196- BUILD arch/i386 /boot/bzImage
1196+ BUILD arch/x86 /boot/bzImage
11971197
11981198 will be displayed with "make KBUILD_VERBOSE=0".
11991199
@@ -1207,7 +1207,7 @@ When kbuild executes, the following steps are followed (roughly):
12071207 kbuild knows .lds files and includes a rule *lds.S -> *lds.
12081208
12091209 Example:
1210- #arch/i386 /kernel/Makefile
1210+ #arch/x86 /kernel/Makefile
12111211 always := vmlinux.lds
12121212
12131213 #Makefile
0 commit comments