title: Compiling a driver as a part of a kernel, not as a module
body: <p>I am trying to create a minimalistic Linux for an embedded device. That means the necessity of compiling kernel and drivers. One driver is written directly for the device's board by it's creator, so it is not a repository one. It can be compiled as a kernel module.</p>
  
  <p>However because of immutable nature of the Linux and requirement of extremely small use of memory I do not want to use modules. I want all drivers built-in in the kernel. And all drivers provided with kernel I have set this way.</p>
  
  <p>So my problem is how to compile that one special driver to the kernel?</p>
  
  <p>All searching have not provided me with a solution - all are only about compiling as modules. </p>
  
  <p>Thanks for any help.</p>