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 <[email protected]>: > Hi, > >> From: Burton, Ross [mailto:[email protected]] >> Sent: Tuesday, June 28, 2016 6:27 PM >> To: Zhenhua Luo <[email protected]> >> Cc: Khem Raj <[email protected]>; [email protected] >> Subject: Re: [yocto] Failed to cross compile kernel with Yocto toolchain >> >> On 28 June 2016 at 06:56, Zhenhua Luo <[email protected]> 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 > [email protected] > https://lists.yoctoproject.org/listinfo/yocto -- "Do or do not. There is no try" Yoda Master -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
