From: ddvlad@rosedu.org (Vlad Dogaru)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Check if specific functionally is built into the kernel
Date: Sun, 26 Feb 2012 23:13:51 +0200 [thread overview]
Message-ID: <CAA+rx9QxUnXR9W3LjTjkJOucWVo20wzgU=2D8T02-iHRqVnxUQ@mail.gmail.com> (raw)
In-Reply-To: <CAEnQRZCpMJM_AmbGMTepe2hvqwOfCn0vDQ6nZoHnC8qSnxv8Mg@mail.gmail.com>
On Sun, Feb 26, 2012 at 7:26 PM, Daniel Baluta <daniel.baluta@gmail.com> wrote:
> On Sun, Feb 26, 2012 at 7:08 PM, Arokux B. <arokux@gmail.com> wrote:
>> Dear all,
>>
>> I have the following problem. Some functionality can be either built
>> into the kernel or it can be build as a module. In the latter case the
>> application should load the module.
>>
>> Is there a general approach to test if specific functionality is built
>> statically or as a module?
>
> If available, you can check .config file.
> (e.g check if CONFIG_X_OPTION=Y or CONFIG_X_OPTION=m).
If you don't have your .config (distro prebuilt image), you can check
/proc/config.gz or /boot/ for a config which corresponds to your uname
-r.
Vlad
prev parent reply other threads:[~2012-02-26 21:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-26 17:08 Check if specific functionally is built into the kernel Arokux B.
2012-02-26 17:26 ` Daniel Baluta
2012-02-26 21:13 ` Vlad Dogaru [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='CAA+rx9QxUnXR9W3LjTjkJOucWVo20wzgU=2D8T02-iHRqVnxUQ@mail.gmail.com' \
--to=ddvlad@rosedu.org \
--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).