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....@nxp.com>: > Hi, > >> From: Burton, Ross [mailto:ross.bur...@intel.com] >> Sent: Tuesday, June 28, 2016 6:27 PM >> To: Zhenhua Luo <zhenhua....@nxp.com> >> Cc: Khem Raj <raj.k...@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....@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 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto