From: roszenrami@gmail.com (Rami Rosen)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to statically build kernel module?
Date: Fri, 22 Jan 2016 23:40:04 +0200 [thread overview]
Message-ID: <CAKoUArm9hmFJWiqjhzxm8GHsdaLRnR90kh+HM_m4EJ0iu4afoQ@mail.gmail.com> (raw)
In-Reply-To: <CAK7rcp8A4hw-YprcLQ5oxDOmpUxJ4z59Zw9zvFHJ=-Y47mGbYg@mail.gmail.com>
Hi,
Assuming that you are talking about a kernel module which is part of the
Kernel tree, you simply need to run make menuconfig, navigate to that
module, and instead "M" you should choose "Y". The build and install the
kernel image.
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
?????? 22 ???? 2016 21:44, "Kenneth Adam Miller" <
kennethadammiller@gmail.com> ???:
> Is there a guidance anywhere? I know my question is simple and
> straightforward, but I've looked around a bit and I can't find a direct way
> to statically build a kernel module into the kernel.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160122/0ee2c5c2/attachment.html
prev parent reply other threads:[~2016-01-22 21:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 19:43 How to statically build kernel module? Kenneth Adam Miller
2016-01-22 21:40 ` Rami Rosen [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=CAKoUArm9hmFJWiqjhzxm8GHsdaLRnR90kh+HM_m4EJ0iu4afoQ@mail.gmail.com \
--to=roszenrami@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).