From: Valdis.Kletnieks@vt.edu
To: KC <kcc1967@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6.x driver compiler options
Date: Tue, 10 May 2005 11:11:34 -0400 [thread overview]
Message-ID: <200505101511.j4AFBYcd010704@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 10 May 2005 16:08:30 +0800." <5eb4b0650505100108179ba1b6@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
On Tue, 10 May 2005 16:08:30 +0800, KC said:
> Instead of using Linux kconfig build system, can someone tell me
> what's the compiler options used to build a device driver (.ko file) ?
There's plenty of documentation on how to use 'make' to build an
out-of-tree .ko.
> Or, how can I integrate kconfig with GNU tool chain (automake, autoconf ...)
First, describe the semantics. How the <bleep> is that ever "supposed to work"?
automangle and friends are designed so you can configure userspace programs to
run no matter what oddities the underlying system has. Kconfig is for actually
describing the underlying system.
At *best*, all you could do is use the .config variables to answer some of
the "is XYZ present?" tests done in ./configure - but even *that* is Pigheaded
And Wrong, because it will get it wrong if you're pulling hints from a kernel
tree that doesn't match the running kernel, or if it's a new-ish feature that
requires userspace library support that isn't installed on the system...
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
prev parent reply other threads:[~2005-05-10 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 8:08 KC
2005-05-10 14:55 ` Erik Mouw
2005-05-10 15:11 ` Valdis.Kletnieks [this message]
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=200505101511.j4AFBYcd010704@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=kcc1967@gmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®