aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kbuild/modules.txt
Commit message (Collapse)AuthorAgeFilesLines
* Documentation/kbuild: modules.txt cleanupmatt mooney2010-10-051-30/+32
| | | | | | | | | | A few modifications done for consistency, such as adding the shell prompt for command line examples and trailing slash for directories. Also corrects the module include header and fixes a few grammar issues that I introduced. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
* Documentation/kbuild: major edit of modules.txt sections 5-8matt mooney2010-09-291-181/+177
| | | | | | | | | | | A follow-up to my edit of the first 4 sections. Shift sections down by one due to the deletion of section 3; grammar corrections along with some rewording; margin width cleanup; and change EXTRA_CFLAGS -> ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
* Documentation/kbuild: major edit of modules.txt sections 1-4matt mooney2010-09-291-198/+189
| | | | | | | | | Omit needless words and sentences; reorganize and tighten sentence structure; swap sections 2.2 and 2.3 for a more logical flow; remove section 3, therefore shifting 4->3; add to explanations; and add section on building multiple modules. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
* kbuild/Documentation: Incorrect makefile syntax in exampleDavid VomLehn2009-06-091-1/+1
| | | | | | | There is an error in the make syntax for one of the kbuild examples Signed-off-by: David VomLehn <dvomlehn@cisco.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: fix typos (s/bin_shipped/bin.o_shipped/) in DocumentationWolfram Sang2009-01-071-2/+2
| | | | | | | | | The text always mentions ...bin.o_shipped, just the example makefiles actually use ...bin_shipped. It was corrected in one place some time ago, these ones seem to have been forgotten. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: Add new Kbuild variable KBUILD_EXTRA_SYMBOLSRichard Hacker2008-04-251-1/+8
| | | | | | | | | | This patch adds a new (Kbuild) Makefile variable KBUILD_EXTRA_SYMBOLS. The space separated list of file names assigned to KBUILD_EXTRA_SYMBOLS is used when calling scripts/mod/modpost during stage 2 of the Kbuild process for non-kernel-tree modules. Signed-off-by: Richard Hacker <lerichi@gmx.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: small documentation fix in Documentation/kbuild/modules.txtAnton Blanchard2007-05-021-1/+1
| | | | | | | | The Makefile fragment in Documentation/kbuild/modules.txt looks to be missing some braces. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: trivial documentation fixesRobert P. J. Day2006-10-011-4/+5
| | | | | Signed-off-by: "Robert P. J. Day" <rpjday@mindspring.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: fixup Documentation/kbuild/modules.txtRobert P. J. Day2006-09-251-23/+23
| | | | Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: linguistic fixes for Documentation/kbuild/modules.txtJan Engelhardt2006-09-251-59/+60
| | | | | | | | | | | I have done a look-through through Documentation/kbuild/ and my corrections (proposed) are attached. Cc'ed are original author Michael (responsible for comitting changes to these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: fix garbled text in modules.txtBrian Gerst2006-04-041-1/+1
| | | | | Signed-off-by: Brian Gerst <bgerst@didntduck.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: improved modversioning support for external modulesSam Ravnborg2006-02-191-7/+80
| | | | | | | | | | | | | | | With following patch a second option is enabled to obtain symbol information from a second external module when a external module is build. The recommended approach is to use a common kbuild file but that may be impractical in certain cases. With this patch one can copy over a Module.symvers from one external module to make symbols (and symbol versions) available for another external module. Updated documentation in Documentation/kbuild/modules.txt Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: support building individual files for external modulesSam Ravnborg2006-02-191-0/+11
| | | | | | | | | | | | | | | | | | | | | | | Support building individual files when dealing with separate modules. So say you have a module named "foo" which consist of two .o files bar.o and fun.o. You can then do: make -C $KERNELSRC M=`pwd` bar.o make -C $KERNELSRC M=`pwd` bar.lst make -C $KERNELSRC M=`pwd` bar.i make -C $KERNELSRC M=`pwd` / <= will build all .o files and link foo.o make -C $KERNELSRC M=`pwd` foo.ko <= will build the module and do the modpost step to create foo.ko The above will also work if the external module is placed in a subdirectory using a hirachy of kbuild files. Thanks to Andreas Gruenbacher <agruen@suse.de> for initial feature request / bug report. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: document howto build external modules using several directoriesSam Ravnborg2006-01-061-0/+40
| | | | | | | | | Update modules.txt with info how to build external modules with files in several directories. The question popped up on lkml often enough to warrant this, let's see if people read this stuff - or google hits it. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: patch to Documentation/kbuild/modules.txtBrian Strand2005-12-161-12/+12
| | | | | | | | | | First off, thanks for the kbuild docs, they are very useful! Second, I've attached a patch to modules.txt (from 2.6.14.2) with a "compile" fix to a Makefile example, and some trivial spelling/grammar nits. Please let me know if you want the patch in some other format (eg not MIME), or if I should go bother someone else about it. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+419
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!