diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-28 13:32:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-28 13:32:28 -0400 |
commit | 1347a2cebcb4cd6ca94eda0ebc8c5c6825bc4544 (patch) | |
tree | 495eb1b7071a0890c1fa58c12139ebd6305e0e82 /Documentation | |
parent | 90324cc1b11a211e37eabd8cb863e1a1561d6b1d (diff) | |
parent | f7fc237e330deaaea4ba6726b603d4058d1e6b38 (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild updates from Michal Marek.
Fixed up nontrivial merge conflict in Makefile as per Stephen Rothwell
and linux-next (and trivial arch/sparc/Makefile changes due to removed
sparc32 logic).
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
mips: Fix KBUILD_CPPFLAGS definition
kbuild: fix ia64 link
kbuild: document KBUILD_LDS, KBUILD_VMLINUX_{INIT,MAIN} and LDFLAGS_vmlinux
kbuild: link of vmlinux moved to a script
kbuild: refactor final link of sparc32
kbuild: drop unused KBUILD_VMLINUX_OBJS from top-level Makefile
kbuild: Makefile: remove unnecessary check for m68knommu ARCH
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kbuild/kbuild.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt index 68e32bb6bd8..6466704d47b 100644 --- a/Documentation/kbuild/kbuild.txt +++ b/Documentation/kbuild/kbuild.txt | |||
@@ -50,6 +50,10 @@ LDFLAGS_MODULE | |||
50 | -------------------------------------------------- | 50 | -------------------------------------------------- |
51 | Additional options used for $(LD) when linking modules. | 51 | Additional options used for $(LD) when linking modules. |
52 | 52 | ||
53 | LDFLAGS_vmlinux | ||
54 | -------------------------------------------------- | ||
55 | Additional options passed to final link of vmlinux. | ||
56 | |||
53 | KBUILD_VERBOSE | 57 | KBUILD_VERBOSE |
54 | -------------------------------------------------- | 58 | -------------------------------------------------- |
55 | Set the kbuild verbosity. Can be assigned same values as "V=...". | 59 | Set the kbuild verbosity. Can be assigned same values as "V=...". |
@@ -214,3 +218,18 @@ KBUILD_BUILD_USER, KBUILD_BUILD_HOST | |||
214 | These two variables allow to override the user@host string displayed during | 218 | These two variables allow to override the user@host string displayed during |
215 | boot and in /proc/version. The default value is the output of the commands | 219 | boot and in /proc/version. The default value is the output of the commands |
216 | whoami and host, respectively. | 220 | whoami and host, respectively. |
221 | |||
222 | KBUILD_LDS | ||
223 | -------------------------------------------------- | ||
224 | The linker script with full path. Assigned by the top-level Makefile. | ||
225 | |||
226 | KBUILD_VMLINUX_INIT | ||
227 | -------------------------------------------------- | ||
228 | All object files for the init (first) part of vmlinux. | ||
229 | Files specified with KBUILD_VMLINUX_INIT are linked first. | ||
230 | |||
231 | KBUILD_VMLINUX_MAIN | ||
232 | -------------------------------------------------- | ||
233 | All object files for the main part of vmlinux. | ||
234 | KBUILD_VMLINUX_INIT and KBUILD_VMLINUX_MAIN together specify | ||
235 | all the object files used to link vmlinux. | ||