Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> --- Documentation/kbuild/makefiles.txt | 5 +++-- scripts/Makefile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 7a77533..6147174 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. @@ -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 diff --git a/scripts/Makefile b/scripts/Makefile index 1c73c5a..9177794 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -15,7 +15,7 @@ hostprogs-$(CONFIG_IKCONFIG) += bin2c always := $(hostprogs-y) $(hostprogs-m) -# The following hostprogs-y programs are only build on demand +# The following hostprogs-y programs are built only on demand hostprogs-y += unifdef subdir-$(CONFIG_MODVERSIONS) += genksyms ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== - To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html