[OE-core] FILEXEXTRAPATHS advice in wiki doesn't seem to be strictly followed
Robert P. J. Day
rpjday at crashcourse.ca
Wed Mar 21 20:47:27 UTC 2012
here:
http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core
there is some apparently hard and fast advice:
"Use FILESEXTRAPATHS to extend file search path: Modifications to
FILESPATHPKG and/or FILESPATH should be replaced by prepending to
FILESEXTRAPATHS; in addition, you no longer need to define THISDIR
(and should not do so). For example, to add a directory to be searched
for patches and other files which is named with PN, do the following
(note the immediate evaluation operator := and trailing colon, these
are important):
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
but it seems the use of that variable is a bit fast and loose:
$ grep -r FILESEXTRAPATHS *
... snip ...
meta/recipes-graphics/mesa/mesa-common.inc:FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
meta/recipes-graphics/mesa/mesa-git.inc:FILESEXTRAPATHS_prepend := "${THISDIR}/mesa-git:"
meta/recipes-graphics/xorg-xserver/xserver-xorg-lite_1.11.2.bb:FILESEXTRAPATHS_append := "${THISDIR}/xserver-xorg:${THISDIR}/xserver-xorg-${PV}:"
meta/recipes-qt/qt4/qt4-native_4.7.4.bb:FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
meta/recipes-qt/qt4/qt4-tools-nativesdk.inc:FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
meta/recipes-qt/qt4/qt4-native_4.8.0.bb:FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
meta/classes/utils.bbclass: extrapaths = (d.getVar("FILESEXTRAPATHS", True) or "")
$
does this matter?
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