title: Yocto - generate debug symbol of all the included packages
body: <p>I am trying to build debug symbols to be used with gdb when needed. To build debug symbols, added below in the target image target-image.inc file.</p>
  <pre><code>IMAGE_GEN_DEBUGFS = &quot;1&quot;                                                         
  IMAGE_FSTYPES_DEBUGFS = &quot;tar.bz2&quot;
  </code></pre>
  <p>After a successful build, it generates &quot;target-image-dbg.rootfs.tar.bz2&quot;, but this includes very few libs/bins under &quot;.debug&quot;.</p>
  <p>Below is my yocto distribution</p>
  <pre><code>DISTRO = &quot;poky&quot;                                                                  
  DISTRO_NAME = &quot;Poky (Yocto Project Reference Distro)&quot;                            
  DISTRO_VERSION = &quot;2.0.3&quot;                                                         
  DISTRO_CODENAME = &quot;jethro&quot;
  </code></pre>
  <p>I want to build dbg symbols for all the packages included in my rootfs. Can someone point, what's missing?</p>