[yocto] Question on building out-of-tree modules on the target

Rifenbark, Scott M scott.m.rifenbark at intel.com
Fri May 29 13:53:15 PDT 2015


Hi,

I added a clarifying paragraph at the start of this section.  Also, for the last paragraph I mentioned kernel-devsrc.  I could not find any commits that I understood looking in poky for "kernel-devsrc" so from the comment you gave Darren about the package not being uniformly installed on all *.sdk images, I improvised.  Let me know of any corrections.

http://www.yoctoproject.org/docs/1.9/kernel-dev/kernel-dev.html#building-out-of-tree-modules-on-the-target

Thanks, 
Scott

>-----Original Message-----
>From: Hart, Darren
>Sent: Friday, May 29, 2015 12:59 PM
>To: Rifenbark, Scott M; Trevor Woerner; yocto at yoctoproject.org
>Cc: Wold, Saul
>Subject: Re: [yocto] Question on building out-of-tree modules on the target
>
>On 5/29/15, 12:46 PM, "Rifenbark, Scott M" <scott.m.rifenbark at intel.com>
>wrote:
>
>>Ok - so we established that we want it... If I get some clarifications
>>in there about the "rarity" of the situation that would allow someone
>>to develop on the target and also the benefits of having a verified
>>cross-development system if they were to develop on the host, does the
>>rest of the section stand as is?  Are there any issues with it?
>
>
>Adding something like:
>
>"While the traditional Yocto Project development model would be to include
>kernel modules as part of the normal build process, some developers find it
>useful to build modules on the target."
>
>This section is lagging the 1.8 addition of kernel-devsrc, which was not applied
>uniformly across all included SDK images. There is probably a patch necessary
>to do that for a 1.8 point release, and then this document could be made to
>reflect that.
>
>--
>Darren
>
>>
>>Thanks,
>>Scott
>>
>>>-----Original Message-----
>>>From: Hart, Darren
>>>Sent: Friday, May 29, 2015 12:40 PM
>>>To: Trevor Woerner; Rifenbark, Scott M; yocto at yoctoproject.org
>>>Cc: Wold, Saul
>>>Subject: Re: [yocto] Question on building out-of-tree modules on the
>>>target
>>>
>>>On 5/29/15, 12:21 PM, "Trevor Woerner" <twoerner at gmail.com> wrote:
>>>
>>>>Hi Scott,
>>>>
>>>>On 05/18/15 10:42, Rifenbark, Scott M wrote:
>>>>> I have a section in the YP Linux Kernel Development Manual that
>>>>>talks about building out-of-tree-modules on the target -
>>>>
>>>>Interestingly enough, I was just reading through that document the
>>>>other day. As soon as I saw a section titled "Building Out-Of-Tree
>>>>Modules _On The Target_" I thought to myself "why would anyone be
>>>>doing development on the target and not the host?" and skipped to the
>>>>next
>>>section.
>>>>
>>>>If it were me, I'd just remove that section altogether. I'm of the
>>>>opinion that doing development work on the target is wrong (if for no
>>>>other reason than to prove your cross-development setup is working
>>>>correctly), but that's just me.
>>>>
>>>>;-)
>>>>
>>>
>>>I personally agree, but having it documented means I get to answer a
>>>lot few emails about people insisting on doing this. The section
>>>stays.
>>>
>>>--
>>>Darren Hart
>>>Intel Open Source Technology Center
>>>
>>
>>
>
>
>--
>Darren Hart
>Intel Open Source Technology Center
>




More information about the yocto mailing list