On 2015-01-15 8:13 PM, neil...@emerson.com wrote:
Hi, Bruce
Thank you for your reply.
In the WORKDIR , it just has "linux-qemuarm-standard-build" and not have the 
"linux".

Are you sure you are building Yocto 1.7 and not the master branch ?

Until about a month ago, every build had the source along side the
split build directory .. in a directory called linux. But as I
mentioned, we are working to move the kernel to build out of the
sysroot/shared working directory.


My WORKDIR directory is 
"~/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto/3.14.24+gitAUTOINC+a227f20eff_6166316d47-r0",
 but I don't find the tarball of "linux-14.24"
in download directory. It has tarball "linux-17.7.tar.xz".

Do you think whether these is the reason?

They shouldn't be related. But that tar.xz you reference above is
clearly from some other kernel build than the linux yocto variant.


I don't know how to set the version of linux when the project  building the 
image.
Maybe, I set the linux to 17.7 version, the problem can solve.

I'm not sure how you are getting a 17.7 tarball, but the linux-yocto
tree builds from a git repository, not a tarball.

In that directory where you see the qemuarm build you should also see a
git.indirectionsymlink that points to the git tree in downloads/git2/

Cheers,

Bruce


Do you have any other better suggestion? Thank you very much.

Neil


-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfi...@windriver.com]
Sent: Thursday, January 15, 2015 9:05 PM
To: Wu, Neil [CLIMATE/RS/CN]; yocto@yoctoproject.org
Subject: Re: [yocto] can't find the source code of kernel

On 2015-01-15 5:03 AM, neil...@emerson.com wrote:
Hi ,all

The version of poky is 1.7. I build the linux-yocto is  successful .

bitbake linux-yocto

But, why I can't find the source code of linux  in ${WORKDIR}.

It should be there (note: it is about to move in master, but not in 1.7.1).

In WORKDIR, you have "linux" (the source) and linux-$MACHINE-build (the
build).

Bruce


Best wishes

Neil





--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to