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

Ran Shalit ranshalit at gmail.com
Sat Feb 25 11:20:09 PST 2017


On Sat, Feb 25, 2017 at 6:41 PM, Bruce Ashfield
<bruce.ashfield at gmail.com> wrote:
>
>
> 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.
>

Thank you very much , Bruce
That's very helpful.
Ran


> 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"


More information about the linux-yocto mailing list