title: yocto kernel module recipe
body: <p>I have a recipe as follows:</p>
  
  <pre><code>SUMMARY = "foo driver"
  LICENSE = "CLOSED"
  inherit module
  SRC_URI = "file://foo.tgz"
  S = "${WORKDIR}/foo-module"
  
  RPROVIDES_${PN} += "kernel-module-foo"
  </code></pre>
  
  <p>What I don't understand are:</p>
  
  <ol>
  <li>There is no do_compile(), do_install(), oe_runmake...etc, why it will compile?</li>
  <li>RPROVIDES_${PN} and kernel-module-xxxx can solve this issue if a kernel module needs to build?</li>
  <li>Why there is no FILES_${PN} assignment?</li>
  </ol>