[OE-core] two variations for distro-specific FILESEXTRAPATHS prepending

Robert P. J. Day rpjday at crashcourse.ca
Wed Jul 16 11:26:38 UTC 2014


  just ran across this in the meta-yocto layer but it's a general OE
question -- the psplash_git.bbappend file contains the following
distro-conditional line:

  FILESEXTRAPATHS_prepend_poky := "${THISDIR}/files:"

and the accompanying files/ directory has, unsurprisingly, a
poky-specific splash image file, "psplash-poky-img.h".

  but based on how FILESEXTRAPATHS is processed by incorporating all
of the FILESOVERRIDES variations (one of which is the distro name),
would it not have been entirely equivalent to have used simply

    FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

and placed that splash file in the accompanying directory files/poky/?
would these two approaches do the same thing? is there a preferred
way? that's the only example of that i've seen in all the layers i've
played with.

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 Openembedded-core mailing list