Commit 39e6e9cf authored by Bryce Harrington's avatar Bryce Harrington Committed by Sam Ravnborg

kbuild: fix for some typos in Documentation/makefiles.txt

I noticed a few typos while reading makefiles.txt to learn about the
kbuild system.  Attached is a patch against 2.6.18 to fix them.
Remove trailing whitespace while we are there..
Signed-off-by: default avatarBryce Harrington <bryce@osdl.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1c7bafe7
......@@ -650,7 +650,7 @@ Both possibilities are described in the following.
--- 4.7 Using hostprogs-$(CONFIG_FOO)
A typcal pattern in a Kbuild file looks like this:
A typical pattern in a Kbuild file looks like this:
Example:
#scripts/Makefile
......@@ -682,7 +682,8 @@ When executing "make clean", the two files "devlist.h classlist.h" will
be deleted. Kbuild will assume files to be in same relative directory as the
Makefile except if an absolute path is specified (path starting with '/').
To delete a directory hirachy use:
To delete a directory hierarchy use:
Example:
#scripts/package/Makefile
clean-dirs := $(objtree)/debian/
......@@ -926,7 +927,7 @@ When kbuild executes, the following steps are followed (roughly):
#arch/i386/Makefile
define archhelp
echo '* bzImage - Image (arch/$(ARCH)/boot/bzImage)'
endef
endif
When make is executed without arguments, the first goal encountered
will be built. In the top level Makefile the first goal present
......@@ -1070,7 +1071,7 @@ When kbuild executes, the following steps are followed (roughly):
#Makefile
export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
The assigment to $(always) is used to tell kbuild to build the
The assignment to $(always) is used to tell kbuild to build the
target vmlinux.lds.
The assignment to $(CPPFLAGS_vmlinux.lds) tells kbuild to use the
specified options when building the target vmlinux.lds.
......@@ -1180,3 +1181,5 @@ Language QA by Jan Engelhardt <jengelh@gmx.de>
- Generating offset header files.
- Add more variables to section 7?
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment