All of lore.kernel.org
 help / color / mirror / Atom feed
* Enabling_gcc
       [not found]     ` <CAAWyHB+vgT1nZmpXXqWoF4iME-VVYtGeLsoSF7dRqwdfEniuwg@mail.gmail.com>
@ 2017-10-23 11:52       ` vishal ashapur
  2017-10-23 17:17         ` Enabling_gcc Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: vishal ashapur @ 2017-10-23 11:52 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

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
Regards
Vishal

[-- Attachment #2: Type: text/html, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Enabling_gcc
  2017-10-23 11:52       ` Enabling_gcc vishal ashapur
@ 2017-10-23 17:17         ` Khem Raj
  2017-10-23 19:44           ` Enabling_gcc Randy MacLeod
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2017-10-23 17:17 UTC (permalink / raw)
  To: vishal ashapur; +Cc: yocto

On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalashapur@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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Enabling_gcc
  2017-10-23 17:17         ` Enabling_gcc Khem Raj
@ 2017-10-23 19:44           ` Randy MacLeod
       [not found]             ` <CAAWyHBL0Z4Pnm2HX861Cnuin7gwvvKwnE=LBek=uhSfO9TMduQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2017-10-23 19:44 UTC (permalink / raw)
  To: vishal ashapur; +Cc: yocto

On 2017-10-23 01:17 PM, Khem Raj wrote:
> On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalashapur@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Enabling_gcc
       [not found]             ` <CAAWyHBL0Z4Pnm2HX861Cnuin7gwvvKwnE=LBek=uhSfO9TMduQ@mail.gmail.com>
@ 2017-10-23 23:57               ` vishal ashapur
  2017-10-24  2:18                 ` Enabling_gcc Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: vishal ashapur @ 2017-10-23 23:57 UTC (permalink / raw)
  To: Randy MacLeod; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]

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.macleod@windriver.com> wrote:

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

> On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalashapur@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

[-- Attachment #2: Type: text/html, Size: 2235 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Enabling_gcc
  2017-10-23 23:57               ` Enabling_gcc vishal ashapur
@ 2017-10-24  2:18                 ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2017-10-24  2:18 UTC (permalink / raw)
  To: vishal ashapur; +Cc: yocto

On Mon, Oct 23, 2017 at 4:57 PM, vishal ashapur <vishalashapur@gmail.com> wrote:
> Ya, I want gcc compiler to be on target image. I'm using raspberry pi3
> board.

In local.conf add.

EXTRA_IMAGE_FEATURES_append = " tools-sdk tools-debug dbg-pkgs"

if you are using an image which does not inherit core-image then you can add
the needed bits to image as Randy suggested.


>
> On 24-Oct-2017 1:14 AM, "Randy MacLeod" <randy.macleod@windriver.com> wrote:
>
> On 2017-10-23 01:17 PM, Khem Raj wrote:
>>
>> On Mon, Oct 23, 2017 at 4:52 AM, vishal ashapur <vishalashapur@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
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-24  2:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAAWyHBL094mGuwrWkcO4GhCEp+honQ+9zV8Y04bEugGjV3uhSQ@mail.gmail.com>
     [not found] ` <CAAWyHBKp8tNACEFR6xfDp6qKAzUKYyVrH9PuG0xajLz=FHyUMA@mail.gmail.com>
     [not found]   ` <CAAWyHBLAwfw-JDA8HFqAeUWJyCysv2Bn3RcswfTqftHxZ+USXA@mail.gmail.com>
     [not found]     ` <CAAWyHB+vgT1nZmpXXqWoF4iME-VVYtGeLsoSF7dRqwdfEniuwg@mail.gmail.com>
2017-10-23 11:52       ` Enabling_gcc vishal ashapur
2017-10-23 17:17         ` Enabling_gcc Khem Raj
2017-10-23 19:44           ` Enabling_gcc Randy MacLeod
     [not found]             ` <CAAWyHBL0Z4Pnm2HX861Cnuin7gwvvKwnE=LBek=uhSfO9TMduQ@mail.gmail.com>
2017-10-23 23:57               ` Enabling_gcc vishal ashapur
2017-10-24  2:18                 ` Enabling_gcc Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.