[yocto] Failed to cross compile kernel with Yocto toolchain

Daniel. danielhilst at gmail.com
Tue Jun 28 06:34:21 PDT 2016


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 at nxp.com>:
> Hi,
>
>> From: Burton, Ross [mailto:ross.burton at intel.com]
>> Sent: Tuesday, June 28, 2016 6:27 PM
>> To: Zhenhua Luo <zhenhua.luo at nxp.com>
>> Cc: Khem Raj <raj.khem at gmail.com>; yocto at yoctoproject.org
>> Subject: Re: [yocto] Failed to cross compile kernel with Yocto toolchain
>>
>> On 28 June 2016 at 06:56, Zhenhua Luo <zhenhua.luo at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the yocto mailing list