[yocto] couple questions about kernel dev manual, section 2
    Robert P. J. Day 
    rpjday at crashcourse.ca
       
    Sat Apr 13 08:20:15 PDT 2013
    
    
  
 some oddities in section 2.2.1 of the current kernel dev manual.
first, there's:
"The append file should initially contain the following text:
     FILESEXTRAPATHS := "${THISDIR}/${PN}"
  i was under the impression that the standard line would be:
     FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
would it not? to make sure you can support potential layers on top of
layers, no?  if you absolutely *know* that won't happen, then, sure,
that will work, but i think the wording above is unnecessarily
restrictive.
  also, right underneath that, one reads:
"If you add any new files that modify the kernel recipe, you need to
place them in your layer in the following area:
     <your-layer>/recipes-kernel/linux/linux-yocto/"
IIRC, you *can* put them there but you don't *need* to. in fact, tom
zanussi's kernel labs place extra files simply under a "files/"
subdirectory (after setting FILESEXTRAPATHS to pick up that
directory). so, again, some wording that is unnecessarily strong and
somewhat misleading.
  thoughts?
rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
    
    
More information about the yocto
mailing list