Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0dbbc713
Commit
0dbbc713
authored
Mar 23, 2004
by
Sam Ravnborg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kbuild: Trivial spelling / rephrasing
From: Ingo Molnar <mingo@elte.hu>
parent
0f4619a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Documentation/kbuild/makefiles.txt
Documentation/kbuild/makefiles.txt
+6
-6
scripts/basic/fixdep.c
scripts/basic/fixdep.c
+1
-1
No files found.
Documentation/kbuild/makefiles.txt
View file @
0dbbc713
...
...
@@ -119,7 +119,7 @@ more details, with real examples.
obj-y += foo.o
This tell kbuild that there is one object in that directory named
foo.o. foo.o will be buil
d
from foo.c or foo.S.
foo.o. foo.o will be buil
t
from foo.c or foo.S.
If foo.o shall be built as a module, the variable obj-m is used.
Therefore the following pattern is often used:
...
...
@@ -334,7 +334,7 @@ more details, with real examples.
--- 3.9 Dependency tracking
Kbuild track dependencies on the following:
Kbuild track
s
dependencies on the following:
1) All prerequisite files (both *.c and *.h)
2) CONFIG_ options used in all prerequisite files
3) Command-line used to compile target
...
...
@@ -411,7 +411,7 @@ Both possibilities are described in the following.
--- 4.2 Composite Host Programs
Host programs can be made up based on composite objects.
The syntax used to define composite obje
tc
s for host programs is
The syntax used to define composite obje
ct
s for host programs is
similar to the syntax used for kernel objects.
$(<executeable>-objs) list all objects used to link the final
executable.
...
...
@@ -811,7 +811,7 @@ When kbuild executes the following steps are followed (roughly):
extra-y
extra-y specify additional targets created in current
extra-y specify additional targets created in
the
current
directory, in addition to any targets specified by obj-*.
Listing all targets in extra-y is required for two purposes:
...
...
@@ -829,7 +829,7 @@ When kbuild executes the following steps are followed (roughly):
--- 6.6 Commands useful for building a boot image
Kbuild provide a few macros that are useful when building a
Kbuild provide
s
a few macros that are useful when building a
boot image.
if_changed
...
...
@@ -872,7 +872,7 @@ When kbuild executes the following steps are followed (roughly):
$(obj)/setup $(obj)/bootsect: %: %.o FORCE
$(call if_changed,ld)
In this example there
is
two possible targets, requiring different
In this example there
are
two possible targets, requiring different
options to the linker. the linker options are specified using the
LDFLAGS_$@ syntax - one for each potential target.
$(targets) are assinged all potential targets, herby kbuild knows
...
...
scripts/basic/fixdep.c
View file @
0dbbc713
...
...
@@ -38,7 +38,7 @@
*
* The idea above dates, by the way, back to Michael E Chastain, AFAIK.
*
* So to get dependencies right, there two issues:
* So to get dependencies right, there
are
two issues:
* o if any of the files the compiler read changed, we need to rebuild
* o if the command line given to the compile the file changed, we
* better rebuild as well.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment