[yocto] kernel source code

Robert Yang liezhi.yang at windriver.com
Tue Jul 8 00:36:11 PDT 2014



On 07/08/2014 02:04 PM, jags gediya wrote:
> I have run below command
>
> bitbake -c fetchall core-image-minimal
>
> It has created downloads directory and packages source codes are
> there inside, but i am not able to find the kernel and u-boot source code.

By default, the kernel-source code is:

<builddir>/downloads/git2/git.yoctoproject.org.linux-yocto-3.14.git

And the u-boot is:
<builddir>/downloads/git2/git.denx.de.u-boot.git

You can check the SRC_URI in the recipe to figure out the source type, they will
be in DL_DIR if tarball, and DL_DIR/git2 if git, the similar to svn (DL_DIR/svn)
and others.

Usually, the "bitbake -e <recipe> >recipe.py" then look at recipe.py helps.

// Robert

>
> I have build core-image-minimal without internet connectivity, and kernel and
> u-boot have also built properly. I am not getting from where it is taking
> the source code for kernel and u-boot.
>
> I am building yocto sdk for imx6l evolution kit and i have checked out
> daisy branch.
>
> Please suggest where can be the source code for kernel and u-boot
> before build but after running fetchall command.
>



More information about the yocto mailing list