[05/13] xorg-lib: remove usage of FILESPATH

Submitted by Petter Mabäcker on May 7, 2014, 9:19 p.m.

Details

Message ID 153d5bf9bd80849c45a70a456b1d97223134069b.1399497346.git.petter@technux.se
State New
Headers show

Commit Message

Petter Mabäcker May 7, 2014, 9:19 p.m.
Fixes [YOCTO #4497]

Usage of FILESPATH is discouraged, since it can make recipes harder to
bbappend. Instead FILESEXTRAPATHS should be used to extend the path.
Avoid using files dir in xorg-lib, since current patchdirs are only shared
between some of the bb-files.

Signed-off-by: Petter Mabäcker <petter@technux.se>
---
 meta/recipes-graphics/xorg-lib/libx11.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index e07d42d..6c45828 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -8,7 +8,7 @@  require xorg-lib-common.inc
 
 inherit siteinfo
 
-FILESPATH = "${FILE_DIRNAME}/libx11"
+FILESEXTRAPATHS_prepend := "${THISDIR}/libx11:"
 
 PE = "1"