From: Sam Ravnborg <sam@ravnborg.org>
To: Linus Torvalds <torvalds@osdl.org>,
Russell King <rmk@arm.linux.org.uk>,
linux-kernel@vger.kernel.org,
Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>,
Roman Zippel <zippel@linux-m68k.org>,
linuxppc-dev@lists.linuxppc.org
Subject: kbuild: Save relevant parts of modules.txt
Date: Wed, 10 Sep 2003 21:16:42 +0200 [thread overview]
Message-ID: <20030910191642.GA5604@mars.ravnborg.org> (raw)
In-Reply-To: <20030910191411.GA5517@mars.ravnborg.org>
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1267 -> 1.1268
# Documentation/kbuild/00-INDEX 1.4 -> 1.5
# (new) -> 1.1 Documentation/kbuild/modules.txt
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/10 sam@mars.ravnborg.org 1.1268
# kbuild: Save relevant parts of modules.txt
#
# The out-dated modules.txt were deleted from the kernel, save the kbuild
# related bits in Documentation/kbuild.
# It needs more updates, but for now this is better than nothing
# --------------------------------------------
#
diff -Nru a/Documentation/kbuild/00-INDEX b/Documentation/kbuild/00-INDEX
--- a/Documentation/kbuild/00-INDEX Wed Sep 10 21:15:32 2003
+++ b/Documentation/kbuild/00-INDEX Wed Sep 10 21:15:32 2003
@@ -4,3 +4,5 @@
- specification of Config Language, the language in Kconfig files
makefiles.txt
- developer information for linux kernel makefiles
+modules.txt
+ - how to build modules and to install them
diff -Nru a/Documentation/kbuild/modules.txt b/Documentation/kbuild/modules.txt
--- /dev/null Wed Dec 31 16:00:00 1969
+++ b/Documentation/kbuild/modules.txt Wed Sep 10 21:15:32 2003
@@ -0,0 +1,28 @@
+For now this is a raw copy from the old Documentation/modules.txt,
+which was removed in 2.6.0-test5.
+The information herein is correct but not complete.
+
+Installing modules in a non-standard location
+---------------------------------------------
+When the modules needs to be installed under another directory
+the INSTALL_MOD_PATH can be used to prefix "/lib/modules" as seen
+in the following example:
+
+make INSTALL_MOD_PATH=/frodo modules_install
+
+This will install the modules in the directory /frodo/lib/modules.
+/frodo can be a NFS mounted filesystem on another machine, allowing
+out-of-the-box support for installation on remote machines.
+
+
+Compiling modules outside the official kernel
+---------------------------------------------
+Often modules are developed outside the official kernel.
+To keep up with changes in the build system the most portable way
+to compile a module outside the kernel is to use the following command-line:
+
+make -C path/to/kernel/src SUBDIRS=$PWD modules
+
+This requires that a makefile exits made in accordance to
+Documentation/kbuild/makefiles.txt.
+
next prev parent reply other threads:[~2003-09-10 19:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-10 19:14 [BK PATCHES] kbuild/kconfig Sam Ravnborg
2003-09-10 19:16 ` Sam Ravnborg [this message]
2003-09-10 19:17 ` kconfig: Allow architectures to select board specific configs Sam Ravnborg
2003-09-10 19:17 ` kbuild: Build minimum in scripts/ when changing configuration Sam Ravnborg
2003-09-10 19:58 ` Ricky Beam
2003-09-10 20:13 ` Sam Ravnborg
2003-09-10 21:00 ` Ricky Beam
2003-09-10 19:18 ` kbuild: Remove cscope.out during make mrproper Sam Ravnborg
2003-09-22 17:24 ` GOTO Masanori
2003-09-22 20:55 ` Sam Ravnborg
2003-09-10 19:18 ` kbuild/ppc*: Remove obsolete _config support Sam Ravnborg
2003-09-10 19:34 ` [BK PATCHES] kbuild/kconfig Russell King
2003-09-10 19:48 ` Sam Ravnborg
2003-09-10 22:13 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030910191642.GA5604@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=kai@tp1.ruhr-uni-bochum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=rmk@arm.linux.org.uk \
--cc=torvalds@osdl.org \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox