Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>
---
like i mentioned earlier, let's get the trivial stuff out of the
way, and i'll look at the more involved stuff shortly.
diff --git a/Documentation/kbuild/makefiles.txt
b/Documentation/kbuild/makefiles.txt
index 7a77533..4c0f7c9 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -53,7 +53,7 @@ The Makefiles have five parts:
.config the kernel configuration file.
arch/$(ARCH)/Makefile the arch Makefile.
scripts/Makefile.* common rules etc. for all kbuild Makefiles.
- kbuild Makefiles there are about 500 of these.
+ kbuild Makefiles there are about 1000 of these.
The top Makefile reads the .config file, which comes from the kernel
configuration process.
@@ -277,9 +277,9 @@ more details, with real examples.
--- 3.7 Compilation flags
ccflags-y, asflags-y and ldflags-y
- The three flags listed above applies only to the kbuild makefile
+ The three flags listed above apply only to the kbuild makefile
where they are assigned. They are used for all the normal
- cc, as and ld invocation happenign during a recursive build.
+ cc, as and ld invocation happening during a recursive build.
Note: Flags with the same behaviour were previously named:
EXTRA_CFLAGS, EXTRA_AFLAGS and EXTRA_LDFLAGS.
They are yet supported but their use are deprecated.
@@ -404,6 +404,7 @@ more details, with real examples.
-Wa$(comma)-isa=$(isa-y) if it is supported by $(CC).
The second argument is optional, and if supplied will be used
if first argument is not supported.
+ Note: as-option uses KBUILD_CFLAGS for $(CC) options
ld-option
ld-option is used to check if $(CC) when used to link object files
@@ -423,7 +424,7 @@ more details, with real examples.
as-instr checks if the assembler reports a specific instruction
and then outputs either option1 or option2
C escapes are supported in the test instruction
- Note: as-instr-option uses KBUILD_AFLAGS for $(AS) options
+ Note: as-instr uses KBUILD_AFLAGS for $(AS) options
cc-option
cc-option is used to check if $(CC) supports a given option, and not
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html