[meta-intel] Intel Atom E3845: Kernel recipe problems

Saul Wold saul.wold at intel.com
Thu Feb 11 06:18:33 PST 2016


On Thu, 2016-02-11 at 11:43 +0530, Prasant J wrote:
> Hi,
> 
> I'm putting together my own yocto layer or the Intel Atom Board.
> 
> I have a custom kernel recipe that pulls kernel code from my server
> and builds it. I'm able to build the kernel, but I'm facing one
> problem.
> 
While you are using meta-intel, this is more of a generic Yocto Project
question more appropriate on yocto at yoctoproject.org. Let's start here
with maybe getting more information about your recipe, can you share a
copy of the recipe?  Maybe redacted version if you need to.
> 
> My problem:
> After kernel build is complete and do_install is being executed, the
> kernel source is copied to ${D}/usr/src/kernel. Apert from source
> code, even build directories like, image, package, packages-split,
> deploy-rpms, pkgdata, etc also get copied to ${D}/usr/src/kernel
> directory.
Without more information about what you are doing in your recipe, like
which kernel related inherits or if you based this off the meta-
skeleton example of doing a custom kernel. It's hard to know why the
source is getting copied.

Sau!

> I currently work around this problem by deleting the unwanted dirs in
> do_install_append() function in my recipe.
> 
> The unnecessary copying increases the build time of the recipe.
> 
> How can I avoid this?
> 
> 
> I'm using poky and meta-intel dizzy release as my hardware vendor
> supports those releases only.
> 
> 
> Any inputs will be of help!
> 
> 
> Regards, Pj


More information about the meta-intel mailing list