<div dir="auto">Ya, I want gcc compiler to be on target image. I'm using raspberry pi3 board.</div><div class="gmail_extra"><br><div class="gmail_quote">On 24-Oct-2017 1:14 AM, "Randy MacLeod" <<a href="mailto:randy.macleod@windriver.com">randy.macleod@windriver.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On 2017-10-23 01:17 PM, Khem Raj wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <<a href="mailto:vishalashapur@gmail.com" target="_blank">vishalashapur@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
I'm building a Linux kernel from yocto, on which I have to enable gcc. Can u<br>
please tell me how to enable gcc. And also usb_modeswitch package<br>
</blockquote>
<br>
it uses gcc, I think you need to clarify your question a bit so<br>
someone can provide you help.<br>
<br>
</blockquote>
<br></div>
Do you mean that you want the compiler in the target image?<br>
<br>
If so, add:<br>
  IMAGE_INSTALL += "packagegroup-core-buildessent<wbr>ial"<br>
to your conf/local.conf file.<br>
<br>
<br>
../Randy<br>
<br>
<br>
FYI, I looked-up that up in WR's distro feature:<br>
<br>
<a href="https://github.com/WindRiver-OpenSourceLabs/wr-base/blob/LB21_7.0_RCPL0002/templates/feature/target-toolchain/image.inc" rel="noreferrer" target="_blank">https://github.com/WindRiver-O<wbr>penSourceLabs/wr-base/blob/LB2<wbr>1_7.0_RCPL0002/templates/featu<wbr>re/target-toolchain/image.inc</a><br>
since I know it well. :)<br>
<br>
I didn't quickly find it in the YP manual:<br>
  <a href="http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html" rel="noreferrer" target="_blank">http://www.yoctoproject.org/do<wbr>cs/2.2/mega-manual/mega-manual<wbr>.html</a><br>
but it should be there.<font color="#888888"><br>
<br>
-- <br>
# Randy MacLeod.  WR Linux<br>
# Wind River an Intel Company<br>
</font></blockquote></div><br></div>