diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:51:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:51:38 -0400 |
commit | b4a9071af62f95dc6d22040a0b37ac7225ce4d54 (patch) | |
tree | b40a3ec798f42674f0ff62a071ff4c29348c8605 /Documentation | |
parent | 8b2a1fd1b394c60eaa2587716102dd5e9b4e5990 (diff) | |
parent | 99c8b9477f2b8c4f625545c41f0318570fa38894 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild:
kbuild: trivial documentation fixes
kconfig: fix saving alternate kconfig file in parent dir
kbuild: make modpost processing configurable
kconfig/menuconfig: do not let ncurses clutter screen on exit
kconfig/lxdialog: clear long menu lines
kbuild: do not build mconf & lxdialog unless needed
kconfig/lxdialog: fix make mrproper
kconfig/lxdialog: support resize
kconfig/lxdialog: let <ESC><ESC> behave as expected
kconfig/menuconfig: lxdialog is now built-in
kconfig/lxdialog: add a new theme bluetitle which is now default
kconfig/lxdialog: add support for color themes and add blackbg theme
kconfig/lxdialog: refactor color support
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kbuild/modules.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/kbuild/modules.txt b/Documentation/kbuild/modules.txt index 2e7702e94a78..769ee05ee4d1 100644 --- a/Documentation/kbuild/modules.txt +++ b/Documentation/kbuild/modules.txt | |||
@@ -43,7 +43,7 @@ are not planned to be included in the kernel tree. | |||
43 | What is covered within this file is mainly information to authors | 43 | What is covered within this file is mainly information to authors |
44 | of modules. The author of an external module should supply | 44 | of modules. The author of an external module should supply |
45 | a makefile that hides most of the complexity, so one only has to type | 45 | a makefile that hides most of the complexity, so one only has to type |
46 | 'make' to build the module. A complete example will be present in | 46 | 'make' to build the module. A complete example will be presented in |
47 | chapter 4, "Creating a kbuild file for an external module". | 47 | chapter 4, "Creating a kbuild file for an external module". |
48 | 48 | ||
49 | 49 | ||
@@ -61,6 +61,7 @@ when building an external module. | |||
61 | make -C <path-to-kernel> M=`pwd` | 61 | make -C <path-to-kernel> M=`pwd` |
62 | 62 | ||
63 | For the running kernel use: | 63 | For the running kernel use: |
64 | |||
64 | make -C /lib/modules/`uname -r`/build M=`pwd` | 65 | make -C /lib/modules/`uname -r`/build M=`pwd` |
65 | 66 | ||
66 | For the above command to succeed, the kernel must have been | 67 | For the above command to succeed, the kernel must have been |
@@ -130,10 +131,10 @@ when building an external module. | |||
130 | 131 | ||
131 | To make sure the kernel contains the information required to | 132 | To make sure the kernel contains the information required to |
132 | build external modules the target 'modules_prepare' must be used. | 133 | build external modules the target 'modules_prepare' must be used. |
133 | 'module_prepare' exists solely as a simple way to prepare | 134 | 'modules_prepare' exists solely as a simple way to prepare |
134 | a kernel source tree for building external modules. | 135 | a kernel source tree for building external modules. |
135 | Note: modules_prepare will not build Module.symvers even if | 136 | Note: modules_prepare will not build Module.symvers even if |
136 | CONFIG_MODULEVERSIONING is set. Therefore a full kernel build | 137 | CONFIG_MODVERSIONS is set. Therefore a full kernel build |
137 | needs to be executed to make module versioning work. | 138 | needs to be executed to make module versioning work. |
138 | 139 | ||
139 | --- 2.5 Building separate files for a module | 140 | --- 2.5 Building separate files for a module |
@@ -450,7 +451,7 @@ kernel refuses to load the module. | |||
450 | 451 | ||
451 | Module.symvers contains a list of all exported symbols from a kernel build. | 452 | Module.symvers contains a list of all exported symbols from a kernel build. |
452 | 453 | ||
453 | --- 7.1 Symbols fron the kernel (vmlinux + modules) | 454 | --- 7.1 Symbols from the kernel (vmlinux + modules) |
454 | 455 | ||
455 | During a kernel build, a file named Module.symvers will be generated. | 456 | During a kernel build, a file named Module.symvers will be generated. |
456 | Module.symvers contains all exported symbols from the kernel and | 457 | Module.symvers contains all exported symbols from the kernel and |