diff options
Diffstat (limited to 'Documentation/kbuild/makefiles.txt')
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 50f4eddf899c..4b3d6710c504 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -227,9 +227,9 @@ more details, with real examples. | |||
227 | be included in a library, lib.a. | 227 | be included in a library, lib.a. |
228 | All objects listed with lib-y are combined in a single | 228 | All objects listed with lib-y are combined in a single |
229 | library for that directory. | 229 | library for that directory. |
230 | Objects that are listed in obj-y and additionaly listed in | 230 | Objects that are listed in obj-y and additionally listed in |
231 | lib-y will not be included in the library, since they will anyway | 231 | lib-y will not be included in the library, since they will |
232 | be accessible. | 232 | be accessible anyway. |
233 | For consistency, objects listed in lib-m will be included in lib.a. | 233 | For consistency, objects listed in lib-m will be included in lib.a. |
234 | 234 | ||
235 | Note that the same kbuild makefile may list files to be built-in | 235 | Note that the same kbuild makefile may list files to be built-in |
@@ -535,7 +535,7 @@ Both possibilities are described in the following. | |||
535 | Host programs can be made up based on composite objects. | 535 | Host programs can be made up based on composite objects. |
536 | The syntax used to define composite objects for host programs is | 536 | The syntax used to define composite objects for host programs is |
537 | similar to the syntax used for kernel objects. | 537 | similar to the syntax used for kernel objects. |
538 | $(<executeable>-objs) lists all objects used to link the final | 538 | $(<executable>-objs) lists all objects used to link the final |
539 | executable. | 539 | executable. |
540 | 540 | ||
541 | Example: | 541 | Example: |
@@ -1022,7 +1022,7 @@ When kbuild executes, the following steps are followed (roughly): | |||
1022 | In this example, there are two possible targets, requiring different | 1022 | In this example, there are two possible targets, requiring different |
1023 | options to the linker. The linker options are specified using the | 1023 | options to the linker. The linker options are specified using the |
1024 | LDFLAGS_$@ syntax - one for each potential target. | 1024 | LDFLAGS_$@ syntax - one for each potential target. |
1025 | $(targets) are assinged all potential targets, by which kbuild knows | 1025 | $(targets) are assigned all potential targets, by which kbuild knows |
1026 | the targets and will: | 1026 | the targets and will: |
1027 | 1) check for commandline changes | 1027 | 1) check for commandline changes |
1028 | 2) delete target during make clean | 1028 | 2) delete target during make clean |