[yocto-builds] [poky] Yocto kernel compilation issues

srinivasan srinivasan.rns at gmail.com
Tue Sep 4 22:43:49 PDT 2018


"inherit kernel" doesn't allow to add new kernels for the very first to
yocto build system for example adding the below kernel



*- The kernel used would be the Linux-rt-devel v4.14.39 from the git repo
in https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/
<https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/>*

Because I tried adding the above new kernel for the first time using
"inherit kernel", and ended with number of issues

And I hope, "inherit kernel" works only for yocto based linux kernels that
is already available.

Could you please guide me if my understanding is wrong w.r.t the above?

On Wed, Sep 5, 2018 at 8:21 AM Paul Eggleton <paul.eggleton at linux.intel.com>
wrote:

> On Wednesday, 5 September 2018 1:44:22 PM NZST srinivasan wrote:
> > Adding the "DEPENDS += "xz-native bc-native" in the "linux-srini_4.14.bb
> "
> > did the trick
>
> FYI the main issue with your kernel recipe is it does not "inherit kernel"
> which takes care of this (and many other things) for you. I guess you
> based
> your recipe on linux-dummy.bb, but that recipe is special and shouldn't
> be
> used as a template for a real kernel.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto-builds/attachments/20180905/5660ee39/attachment.html>


More information about the yocto-builds mailing list