mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
kbuild: doc: replace "gcc" in external module description
Avoid "gcc" since it is not the only compiler supported by Kbuild. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <n.schier@avm.de>
This commit is contained in:
parent
2eb5d7f242
commit
fa911d1f37
@ -9,7 +9,7 @@ Introduction
|
|||||||
|
|
||||||
"kbuild" is the build system used by the Linux kernel. Modules must use
|
"kbuild" is the build system used by the Linux kernel. Modules must use
|
||||||
kbuild to stay compatible with changes in the build infrastructure and
|
kbuild to stay compatible with changes in the build infrastructure and
|
||||||
to pick up the right flags to "gcc." Functionality for building modules
|
to pick up the right flags to the compiler. Functionality for building modules
|
||||||
both in-tree and out-of-tree is provided. The method for building
|
both in-tree and out-of-tree is provided. The method for building
|
||||||
either is similar, and all modules are initially developed and built
|
either is similar, and all modules are initially developed and built
|
||||||
out-of-tree.
|
out-of-tree.
|
||||||
@ -256,7 +256,7 @@ Kernel Includes
|
|||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
||||||
kbuild will add options to "gcc" so the relevant directories
|
kbuild will add options to the compiler so the relevant directories
|
||||||
are searched.
|
are searched.
|
||||||
|
|
||||||
Single Subdirectory
|
Single Subdirectory
|
||||||
|
Loading…
Reference in New Issue
Block a user