title: yocto built tool chain search path issue
body: <p>I have built images for IMX6 using two different yocto versions.  Following are the details.</p>
  
  <h2>Yocto Version1:</h2>
  
  <pre><code>    #curl http://commondatastorage.googleapis.com/git-repo-downloads/repo &gt; ~/bin/repo
      #repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga
      #repo sync
      #bitbake core-image-minimal
  </code></pre>
  
  <h2>Yocto Version2:</h2>
  
  <pre><code>    #curl http://commondatastorage.googleapis.com/git-repo-downloads/repo &gt; ~/bin/repo
      #repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1.1.0_ga
      #repo sync
      #bitbake core-image-minimal
  </code></pre>
  
  <p>Tool chain tree structure for both versions of yocto update @ <a href="http://pastebin.com/Jx7HtANR" rel="nofollow">http://pastebin.com/Jx7HtANR</a></p>
  
  <p>I have compiled following sample program using both tool chains built using two different yocto versions.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main(void)
  { 
      return 0; 
  }
  </code></pre>
  
  <p>But tool chain built using yocto version 2 is giving following error.</p>
  
  <pre><code>test.c:1:19: fatal error: stdio.h: No such file or directory
   #include &lt;stdio.h&gt;
                  ^
  compilation terminated.
  </code></pre>
  
  <p>Tool chain built using yocto version 1 is searching for header files under 
  <strong>"build/tmp/sysroots/imx6qsabresd/usr/include"</strong>, but tool chain built using yocto version 2 is not searching for header files under <strong>"build/tmp/sysroots/imx6qsabresd/usr/include"</strong>, so it is giving error.</p>
  
  <p>Can you help, why tool chain built using yocto version 2 is not searching for header files under <strong>"build/tmp/sysroots/imx6qsabresd/usr/include"</strong>. </p>
  
  <p>Where to change the tool chain configuration in yocto to include the above mentioned search path.</p>