[linux-yocto] Where is the kernel source code ?

Bruce Ashfield bruce.ashfield at gmail.com
Sat Feb 25 08:41:02 PST 2017


On Sat, Feb 25, 2017 at 2:14 AM, Ran Shalit <ranshalit at gmail.com> wrote:

> Hello,
>
> I am trying to use RT preempt with linux.
> I've done the following
> PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-rt"
> PREFERRED_VERSION_linux-yocto-rt ?= "4.4%"
>
> Testing the image after build with uname -a, shows it is RT preempt patch.
> "uname -a"
> 4.4.26-rt19-yocto-preempt-rt #1 SMP PREEMPT RT
>
> I then checked in  build/tmp/work-shared/congatec-qa3-64/kernel-source
> doing
> make kernel version:
> 4.4.26
> I don't see it print the prrempt rt as expected in version.
>
> So I wander: Is it that the source code in "build/tmp/work-shared"  is
> *before* or *after* applying the rt patch ?
>

It's after.

-rt adds its string to the version you see at runtime through the
localversion file,
so you won't see it in the Makefiles.

Bruce


>
> Regards,
> Ran
> --
> _______________________________________________
> linux-yocto mailing list
> linux-yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20170225/8598a414/attachment-0001.html>


More information about the linux-yocto mailing list