Talk:Compile kernel module

From ArchWiki
Revision as of 10:48, 9 November 2015 by NonerKao (talk | contribs) (discussion about the situation when one wants to compile a kernel module)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is the scenario?

There are only three cases:

  • re-compile a in-kernel module, in an arch-specific kernel
  • re-compile a in-kernel module, in a customized kernel
  • compile a externel module (no matter what kind of kernel is in use)

While this article, as a tutorial here in ArchWiki with the title "Compile kernel module", should cover the first case, it gives second case only since it acquires the kernel source from kernel.org. However, we may want to stay with the kernel of Archlinux's official one. How do you think about this?

Just for completeness, the third case is easily done by following The Linux Kernel Module Programming Guide. --NonerKao (talk) 10:47, 9 November 2015 (UTC)