title: Adding only one driver to linux kernel
body: <p>I know that on the internet I can find same information about "adding one driver to linux kernel" but I can not get it working.
  I need to compile an ADV7800driver. It is based on adv7180 driver code.</p>
  
  <p>I put my driver file (adv7800.c) into <code>/linux_source_folder/drivers/media/platform/mxc/capture</code> folder. I also add </p>
  
  <pre><code>adv7800_converter-objs := adv7800.o
  obj-$(CONFIG_MXC_ADV7800_CONVERTER)+=adv7800_converter.o
  </code></pre>
  
  <p>in makefile in the same folder and add information in <code>Kconfig</code>file.</p>
  
  <p>Then I go back to /linux_source_folder and do <code>sudo make menuconfig</code> and set adv7800 as a module and save config. Then <code>sudo make defconfig</code>, then <code>sudo make -j4 modules</code> (now waiting about 2 hours) and then <code>sudo make modules install</code>.</p>
  
  <p>As a result I can see every module which I configure in <code>menuconfig</code> but I can not see my own module (only .c file exists).</p>
  
  <p>How can I do this correctly and how can I build only this one module without building others (to same much time) ?</p>