Patchwork [PATCHv3,06/13] mesa: remove usage of FILESPATH

login
register
mail settings
Submitter Petter Mabäcker
Date May 12, 2014, 1:55 p.m.
Message ID <4d331f1a13bcbc414268bd6047f507695085ffcb.1399868537.git.petter@technux.se>
Download mbox | patch
Permalink /patch/71971/
State New
Headers show

Comments

Petter Mabäcker - May 12, 2014, 1:55 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.
Also remove unused filespath addition.

Signed-off-by: Petter Mabäcker <petter@technux.se>
---
 meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb b/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
index 8c7d8e8..2acc21d 100644
--- a/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
@@ -2,7 +2,7 @@  require mesa_${PV}.bb
 
 SUMMARY += " (OpenGL only, no EGL/GLES)"
 
-FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/mesa-${PV}", "${FILE_DIRNAME}/mesa"], d)}"
+FILESEXTRAPATHS =. "${FILE_DIRNAME}/mesa:"
 
 PROVIDES = "virtual/libgl virtual/mesa"