Article 5NR9D Compiling additional kernel modules

Compiling additional kernel modules

by
JayByrd
from LinuxQuestions.org on (#5NR9D)
Situation: I need one kernel module to be compiled that is disabled by default in slack's default kernel .config file.

(The .config line in question is: )Code:CONFIG_LKDTM=mIs it possible to compile this by itself?

In other words, do I have to add just the one line to the stock .config, and recompile? Or could it work by disabling all modules in the stock .config before adding my one new line?

What I'm thinking is to change all "=m" in .config to "=n".
Then I would add the line in .config for the one module I need. Once compiled, I could install to /lib/modules. Essentially just adding it to the ones Pat has already built.

I really hope this is possible, because it would save me a lot of time!

TIA,
Jaylatest?d=yIl2AUoC8zA latest?i=ue-ytPR0MkA:N24HSQ-uxmY:F7zBnMy latest?i=ue-ytPR0MkA:N24HSQ-uxmY:V_sGLiP latest?d=qj6IDK7rITs latest?i=ue-ytPR0MkA:N24HSQ-uxmY:gIN9vFwue-ytPR0MkA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments