title: yocto: how do I install header files along with kernel module in sdk
body: <p>Why, after do_install, test.h does not appear in SDK? Actually it appears nowhere.</p>
  
  <pre><code>do_install_append() {
      install -d ${D}${includedir}/char-drv-ll
      install -m 0755 ${S}/test.h ${D}${includedir}/char-drv-ll/test.h
  }
  RPROVIDES_${PN} += "kernel-module-char-drv-ll"
  
  FILES_${PN} += "${includedir}/char-drv-ll/test.h"
  </code></pre>
  
  <p>Edit: Here is the result of find in the poky build folder:</p>
  
  <pre class="lang-sh prettyprint-override"><code>$ find -name test.h -and -path *char-drv-ll*
  ./tmp/sysroots-components/qemuarm/char-drv-ll/usr/include/char-drv-ll/test.h
  ./tmp/work/qemuarm-poky-linux-gnueabi/char-drv-ll/0.1-r0/package/usr/include/char-drv-ll/test.h
  ./tmp/work/qemuarm-poky-linux-gnueabi/char-drv-ll/0.1-r0/image/usr/include/char-drv-ll/test.h
  ./tmp/work/qemuarm-poky-linux-gnueabi/char-drv-ll/0.1-r0/sysroot-destdir/usr/include/char-drv-ll/test.h
  ./tmp/work/qemuarm-poky-linux-gnueabi/char-drv-ll/0.1-r0/test.h
  ./tmp/work/qemuarm-poky-linux-gnueabi/char-drv-ll/0.1-r0/packages-split/char-drv-ll-dev/usr/include/char-drv-ll/test.h 
  </code></pre>
  
  <p>The file <code>test.h</code> is nowhere to be found when I run qemu or in SDK, though.</p>