[yocto] Enabling_gcc

Randy MacLeod randy.macleod at windriver.com
Mon Oct 23 12:44:15 PDT 2017


On 2017-10-23 01:17 PM, Khem Raj wrote:
> On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalashapur at gmail.com> wrote:
>> Hi
>> I'm building a Linux kernel from yocto, on which I have to enable gcc. Can u
>> please tell me how to enable gcc. And also usb_modeswitch package
> 
> it uses gcc, I think you need to clarify your question a bit so
> someone can provide you help.
> 

Do you mean that you want the compiler in the target image?

If so, add:
   IMAGE_INSTALL += "packagegroup-core-buildessential"
to your conf/local.conf file.


../Randy


FYI, I looked-up that up in WR's distro feature:
 
https://github.com/WindRiver-OpenSourceLabs/wr-base/blob/LB21_7.0_RCPL0002/templates/feature/target-toolchain/image.inc
since I know it well. :)

I didn't quickly find it in the YP manual:
   http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html
but it should be there.

-- 
# Randy MacLeod.  WR Linux
# Wind River an Intel Company



More information about the yocto mailing list