|
|
|
Re: Check if specific functionally is built into the kernel | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sun, Feb 26, 2012 at 7:26 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx> wrote: > On Sun, Feb 26, 2012 at 7:08 PM, Arokux B. <arokux@xxxxxxxxx> 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 _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]
![]() |
![]() |