Ya, I want gcc compiler to be on target image. I'm using raspberry pi3
board.

On 24-Oct-2017 1:14 AM, "Randy MacLeod" <randy.macl...@windriver.com> wrote:

On 2017-10-23 01:17 PM, Khem Raj wrote:

> On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalasha...@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/LB2
1_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
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to