From: Sam Ravnborg <sam@ravnborg.org>
To: Stephen Cameron <steve.cameron@hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to speed up building of modules?
Date: Sat, 5 Apr 2003 09:48:03 +0200 [thread overview]
Message-ID: <20030405074803.GA1076@mars.ravnborg.org> (raw)
In-Reply-To: <20030404085740.GA10052@zuul.cca.cpqcorp.net>
On Fri, Apr 04, 2003 at 02:57:40PM +0600, Stephen Cameron wrote:
> Hi
>
> I'm wondering if you guys know any tricks to speed up building
> of linux kernel modules.
Have you looked at: LKMB (Linux Kernel Module Builder)
Try google at bit after it. An URL has been posted here a couple of times.
There is also: DKMS: Dynamic Kernel Module Support
Gary Lerhaupt from Dell has mede this and he would be glad for any feedback.
In general I advice you to use:
$ make -C path/to/kernel/src SUBDIRS=$PWD modules
when building modules. That's the _only_ way to make sure you have correct
CFLAGS etc.
This should work for 2. as weel as 2.5.
The Makefile than has to be kbuild conformant, as described in
Documentation/kbuild/makefiles.txt
Sam
next prev parent reply other threads:[~2003-04-05 7:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 8:57 Stephen Cameron
2003-04-04 21:17 ` Richard B. Johnson
2003-04-04 22:05 ` Robert White
2003-04-05 7:48 ` Sam Ravnborg [this message]
2003-04-06 22:09 ` Bernd Petrovitsch
2003-04-07 14:27 Cameron, Steve
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=20030405074803.GA1076@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=steve.cameron@hp.com \
/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
all inboxes | Powered by JetHome®