All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhenhua Luo <zhenhua.luo@nxp.com>
To: Daniel. <danielhilst@gmail.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Failed to cross compile kernel with Yocto toolchain
Date: Wed, 29 Jun 2016 06:15:30 +0000	[thread overview]
Message-ID: <DB3PR04MB0684B34E1D13485AF1DA8356EE230@DB3PR04MB0684.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <CAF3SDA6GT3ERs3r2t6qdx5Gek919ehqTqsJtsonBZTJUxNoGAg@mail.gmail.com>

Hello Daniel, 

I tried to pass CROSS_COMPILE for make, it doesn’t help. Actually the ENV variable is defined in /opt/poky/2.1+snapshot/environment-setup-ppce500mc-poky-linux. 
$ source /opt/poky/2.1+snapshot/environment-setup-ppce500mc-poky-linux 
$ env |  grep CROSS_COMPILE
CROSS_COMPILE=powerpc-poky-linux-


Best Regards,

Zhenhua 

> -----Original Message-----
> From: Daniel. [mailto:danielhilst@gmail.com]
> Sent: Tuesday, June 28, 2016 9:34 PM
> To: Zhenhua Luo <zhenhua.luo@nxp.com>
> Cc: Burton, Ross <ross.burton@intel.com>; yocto@yoctoproject.org
> Subject: Re: [yocto] Failed to cross compile kernel with Yocto toolchain
> 
> I think you should set CROSS_COMPILE variable
> 
> usually I have a script at kernel root to setup variables for me: here is what I'm
> using for Daisy
> https://gist.github.com/gkos/28f7cf019b716eba8574b21e6f628aa7
> 
> 2016-06-28 8:20 GMT-03:00 Zhenhua Luo <zhenhua.luo@nxp.com>:
> > Hi,
> >
> >> From: Burton, Ross [mailto:ross.burton@intel.com]
> >> Sent: Tuesday, June 28, 2016 6:27 PM
> >> To: Zhenhua Luo <zhenhua.luo@nxp.com>
> >> Cc: Khem Raj <raj.khem@gmail.com>; yocto@yoctoproject.org
> >> Subject: Re: [yocto] Failed to cross compile kernel with Yocto
> >> toolchain
> >>
> >> On 28 June 2016 at 06:56, Zhenhua Luo <zhenhua.luo@nxp.com> wrote:
> >> Luo Zhenhua-B19537] gcc can't be found after sourcing the SDK env script.
> but the /usr/bin is in the PATH env variable.
> >>
> >> You *do* have a gcc in /usr/bin, right?
> > [Zhenhua Liuo] Right.
> >
> >
> > Best Regards,
> >
> > Zhenhua
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
> --
> "Do or do not. There is no try"
>   Yoda Master

  reply	other threads:[~2016-06-29  6:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27  8:16 Failed to cross compile kernel with Yocto toolchain Zhenhua Luo
2016-06-27 16:36 ` Khem Raj
2016-06-28  5:56   ` Zhenhua Luo
2016-06-28 10:27     ` Burton, Ross
2016-06-28 11:20       ` Zhenhua Luo
2016-06-28 13:34         ` Daniel.
2016-06-29  6:15           ` Zhenhua Luo [this message]
     [not found]     ` <CAMKF1sr=7o2LnTtbgV=fEb+JMw2=vmvaN8b2iQSmZ1qJKd7SAw@mail.gmail.com>
     [not found]       ` <CAMKF1sqSM_jtKm0BCzcpDCDFwQZe6jOA_AO+7acq2Yq-N731-w@mail.gmail.com>
2016-06-28 14:48         ` Khem Raj
2016-06-29  8:52           ` Zhenhua Luo
2016-06-29 12:13             ` Daniel.
2016-06-30  1:54               ` Zhenhua Luo
2016-06-30 20:47                 ` Daniel.
2016-07-01  8:45                   ` Zhenhua Luo
2016-07-01 14:30                     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB3PR04MB0684B34E1D13485AF1DA8356EE230@DB3PR04MB0684.eurprd04.prod.outlook.com \
    --to=zhenhua.luo@nxp.com \
    --cc=danielhilst@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.